HIVE-26227: Add support of catalog related statements for Hive ql - #3288
Conversation
|
@pvary @deniskuzZ: Could you also review this PR? |
|
A very great work! it's much easier for us to manage catalogs with DDL. |
| ,catalog.return_ratio | ||
| ,catalog.return_rank | ||
| ,catalog.currency_rank | ||
| ,`catalog`.item |
There was a problem hiding this comment.
This is a backward incompatible change. Could we make the catalog a non-reserved keyword?
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
| Catalog Name test_cat | ||
| Comment Hive test catalog | ||
| #### A masked pattern was here #### | ||
| Create Time 2025-03-06 17:08:12.000 |
There was a problem hiding this comment.
Create Time should be masked.
https://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-3288/6/tests
Error
Client Execution succeeded but contained differences (error code = 1) after executing catalog.q
119c119
< Create Time 2025-03-06 20:17:53.000
---
> Create Time 2025-03-06 17:08:12.000
|
re-triggered the build |
|
zhangbutao
left a comment
There was a problem hiding this comment.
+1 LGTM
Waiting other folks to take another look.



What changes were proposed in this pull request?
Implement the ddl statements related to catalog, the statements can refer to HIVE-26227.
Why are the changes needed?
To support basic ddl operation for catalog through Hive ql.
Does this PR introduce any user-facing change?
Yes, we should add these new statements to DDL Document.
How was this patch tested?
Add a qtest
catalog.q, can be test by command:mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=catalog.q