You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Field filter doesnt work when using MaterializedPostgreSQL Engine with materialized_postgresql_tables_list.
Example query for creating database:- CREATE DATABASE db_name ENGINE = MaterializedPostgreSQL('host:5432', 'db_nm, 'user', 'pass') SETTINGS materialized_postgresql_tables_list = 'schema_name.table_name', materialized_postgresql_tables_list_with_schema = 1;
Basically this method is used to create replication of data(specified tables) from postgres to clickhouse. In this specific case table name also includes schema name. Table name in clickhouse is like:- "schema_name_in_postgres.table_name_in_postgres"
Example query for accessing data in table in clickhouse:- select * from db_name."schema_name.table_name"
Field filter is using wrong table name due to which its throwing error column name doesn't exist. It should use the syntax db_name."schema_name.table_name" to access column but its using db_name.schema_name.table_name. Quotes is missing in syntax due to which its throwing error column name db_name.schema_name.table_name doesn't exist.
The text was updated successfully, but these errors were encountered:
Field filter doesnt work when using MaterializedPostgreSQL Engine with materialized_postgresql_tables_list.
Example query for creating database:-
CREATE DATABASE db_name ENGINE = MaterializedPostgreSQL('host:5432', 'db_nm, 'user', 'pass') SETTINGS materialized_postgresql_tables_list = 'schema_name.table_name', materialized_postgresql_tables_list_with_schema = 1;
Basically this method is used to create replication of data(specified tables) from postgres to clickhouse. In this specific case table name also includes schema name. Table name in clickhouse is like:- "schema_name_in_postgres.table_name_in_postgres"
Example query for accessing data in table in clickhouse:- select * from db_name."schema_name.table_name"
Field filter is using wrong table name due to which its throwing error column name doesn't exist. It should use the syntax db_name."schema_name.table_name" to access column but its using db_name.schema_name.table_name. Quotes is missing in syntax due to which its throwing error column name db_name.schema_name.table_name doesn't exist.
The text was updated successfully, but these errors were encountered: