ClickHouse/ClickHouse

MaterializedPostgreSQL table engine does not support schema specification

已關閉

#59,950 建立於 2024年2月13日

 (7 則留言) (0 個反應) (0 位負責人)C++ (8,400 個分叉)batch import
experimental featurehelp wantedunfinished code

倉庫指標

星標
 (47,419 顆星)
PR 合併指標
 (平均合併 2天 2小時) (30 天內合併 1,000 個 PR)

描述

Reopening https://github.com/ClickHouse/ClickHouse/issues/29324 because non-default schema is not supported (or not documented) for MaterializedPostgreSQL table engine.

How to reproduce

  • Create table using MaterializedPostgreSQL Engine and SETTINGS materialized_postgresql_schema = 'MY_SCHEMA'

Expected behavior Create table successfully.

Error message and/or stacktrace Query 1 ERROR at Line 1: : DB::Exception: pqxx::undefined_table: ERROR: relation "MY_TABLE" does not exist

貢獻者指南