Closed goldmedal closed 5 months ago
Because we create every pg table through View, if a project without any dataset, some view creating SQL will be wrong.
View
all_table
https://github.com/Canner/canner-metric-layer/blob/3ef2396a31f0c9523e92e9ee04ae9ddf7046720e/core/cml-postgres-wire-protocol/src/main/java/io/cml/pgcatalog/builder/BigQueryUtils.java#L94-L99
all_columns
https://github.com/Canner/canner-metric-layer/blob/3ef2396a31f0c9523e92e9ee04ae9ddf7046720e/core/cml-postgres-wire-protocol/src/main/java/io/cml/pgcatalog/builder/BigQueryUtils.java#L108-L115
Handled the empty exception by #100
pg-wire is archived.
Because we create every pg table through
View
, if a project without any dataset, some view creating SQL will be wrong.all_table
viewhttps://github.com/Canner/canner-metric-layer/blob/3ef2396a31f0c9523e92e9ee04ae9ddf7046720e/core/cml-postgres-wire-protocol/src/main/java/io/cml/pgcatalog/builder/BigQueryUtils.java#L94-L99
all_columns
viewhttps://github.com/Canner/canner-metric-layer/blob/3ef2396a31f0c9523e92e9ee04ae9ddf7046720e/core/cml-postgres-wire-protocol/src/main/java/io/cml/pgcatalog/builder/BigQueryUtils.java#L108-L115