-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: CREATE CATALOG #8252
Comments
cc @sandflee for comments. |
I am not sure what the statement on the hive table to replace the static config, could you give an example? @dantengsky @Xuanwo |
This comment was marked as off-topic.
This comment was marked as off-topic.
The config in databend-query for hive only have two fields: #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, Args)]
#[serde(default)]
pub struct HiveCatalogConfig {
#[clap(long = "hive-meta-store-address", default_value = "127.0.0.1:9083")]
pub meta_store_address: String,
#[clap(long = "hive-thrift-protocol", default_value = "binary")]
pub protocol: String,
} we can replace it by: CREATE CATALOG my_hive
TYPE='hive'
CONNECTION = (URL='<hive-meta-store>' THRIFT_PROTOCOL=BINARY);
SELECT * FROM my_hive.db.table; |
We can defer the hive support after we confirm that it works well on the iceberg. |
I'm working on an RFC for this issue. |
Using a catalog in hive way is not good for me. We should allow users use to configure the catalog for the iceberg. For example, specify the iceberg location by SQL instead of static config.
In this way, we need to introduce a
create catalog
like:Originally posted by @Xuanwo in #8215 (comment)
The text was updated successfully, but these errors were encountered: