You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by "Aireed (via GitHub)" <gi...@apache.org> on 2025/01/02 02:34:29 UTC
[PR] [AMORO-xxx] fix: unified catalog should support iceberg native create_changelog_view procedure [amoro]
Aireed opened a new pull request, #3383:
URL: https://github.com/apache/amoro/pull/3383
<!--
Thanks for sending a pull request!
Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://amoro.apache.org/how-to-contribute/
2. If the PR is related to an issue in https://github.com/apache/amoro/issues, add '[AMORO-XXXX]' in your PR title, e.g., '[AMORO-XXXX] Your PR title ...'.
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][AMORO-XXXX] Your PR title ...'.
-->
## Why are the changes needed?
<!--
Please clarify why the changes are needed. For instance,
1. If you add a feature, you can talk about its use case.
2. If you fix a bug, you can clarify why it is a bug.
3. Use Fix/Resolve/Close #{ISSUE_NUMBER} to link this PR to its related issue
-->
The unified catalog does not support the Iceberg change metadata table syntax, which makes it impossible to support the create_changelog_view stored procedure.
```
spark-sql> CALL spark_catalog.system.create_changelog_view(
> table => 'iceberg_v7.iceberg_overwrite',
> options => map('start-snapshot-id','486064778759746866','end-snapshot-id', '1216062697090990172'),
> changelog_view => 'my_changelog_view_4'
> );
ANTLR Tool version 4.9.3 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.9.3 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.9.3 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.9.3 used for parser compilation does not match the current runtime version 4.8
Error in query: spark_catalog requires a single-part namespace, but got [iceberg_v7, iceberg_overwrite]
```
## Brief change log
<!--
Clearly describe the changes made in modules, classes, methods, etc.
-->
- add `changes` subtablename in class **IcebergSparkFormat**
**Apart from this, I haven't found any other situations that need to be addressed. As the version upgrades, it will be necessary to align with the list of subTables supported by Iceberg.**
## How was this patch tested?
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] Run test locally before making a pull request
## Documentation
- Does this pull request introduce a new feature? (yes / **no**)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [AMORO-3383] fix: unified catalog should support iceberg native create_changelog_view procedure [amoro]
Posted by "zhoujinsong (via GitHub)" <gi...@apache.org>.
zhoujinsong merged PR #3383:
URL: https://github.com/apache/amoro/pull/3383
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@amoro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org