-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't get Clickhouse tables with: code: 47, message: Missing columns: 'data_path' #52
Comments
Thank you! |
It works! Thank you! |
So what is the issue ? I am currently encountering this whilst running clickhouse-client from the official docker image. I am trying to make table where it is ordered by, fields in the nested field.: CREATE TABLE SOME_RAW_TABLE (
team Nested (
teamID UInt32,
employeeID UInt32,
employeeName String
),
task Nested(
taskID String,
employeeID UInt32,
details Nested (
taskDetailID UInt32,
description String
)
)
) ENGINE = MergeTree()
ORDER BY ( team.teamID, team.employeeID, task.details.taskDetailID, task.taskID); Output:
|
Oh, this is weird. If I change |
@nahwinrajan Nested is "array of tuples" |
So I need to set the additional information: with the previous way even though it was successfully creted the table, each field of the nested fields become an array on its own. And am not successful to do insertion into it (even after making values of each field is and array and array of array). Now back to start with Edit:
|
version of clickhouse 19.15.3.6.
When i'm trying to create backup, got error:
can't get Clickhouse tables with: code: 47, message: Missing columns: 'data_path' while processing query: 'SELECT database, name, is_temporary, data_path, metadata_path FROM system.tables WHERE (data_path != '') AND (is_
temporary = 0) AND (engine LIKE '%MergeTree')', required columns: 'data_path' 'is_temporary' 'engine' 'database' 'name' 'metadata_path', source columns: 'primary_key' 'storage_policy' 'sorting_key' 'data_paths' 'partition_key' 'engine_full'
'is_temporary' 'database' 'sampling_key' 'create_table_query' 'engine' 'dependencies_table' 'name' 'metadata_path' 'metadata_modification_time' 'dependencies_database'
The text was updated successfully, but these errors were encountered: