diff --git a/packages/cubejs-backend-native/Cargo.lock b/packages/cubejs-backend-native/Cargo.lock index adf22f0f95a47..4b677021c4e8a 100644 --- a/packages/cubejs-backend-native/Cargo.lock +++ b/packages/cubejs-backend-native/Cargo.lock @@ -714,7 +714,7 @@ dependencies = [ [[package]] name = "cube-ext" version = "1.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "arrow", "chrono", @@ -884,7 +884,7 @@ checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "datafusion" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", @@ -917,7 +917,7 @@ dependencies = [ [[package]] name = "datafusion-common" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "arrow", "ordered-float 2.10.1", @@ -928,7 +928,7 @@ dependencies = [ [[package]] name = "datafusion-data-access" version = "1.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "async-trait", "chrono", @@ -941,7 +941,7 @@ dependencies = [ [[package]] name = "datafusion-expr" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", @@ -952,7 +952,7 @@ dependencies = [ [[package]] name = "datafusion-physical-expr" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", diff --git a/rust/cubenativeutils/Cargo.lock b/rust/cubenativeutils/Cargo.lock index 262729e204b01..df73c0356cc01 100644 --- a/rust/cubenativeutils/Cargo.lock +++ b/rust/cubenativeutils/Cargo.lock @@ -645,7 +645,7 @@ dependencies = [ [[package]] name = "cube-ext" version = "1.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "arrow", "chrono", @@ -737,7 +737,7 @@ dependencies = [ [[package]] name = "datafusion" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", @@ -770,7 +770,7 @@ dependencies = [ [[package]] name = "datafusion-common" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "arrow", "ordered-float 2.10.1", @@ -781,7 +781,7 @@ dependencies = [ [[package]] name = "datafusion-data-access" version = "1.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "async-trait", "chrono", @@ -794,7 +794,7 @@ dependencies = [ [[package]] name = "datafusion-expr" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", @@ -805,7 +805,7 @@ dependencies = [ [[package]] name = "datafusion-physical-expr" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", diff --git a/rust/cubesql/Cargo.lock b/rust/cubesql/Cargo.lock index e0c5d485be6ca..b818cf12e0daa 100644 --- a/rust/cubesql/Cargo.lock +++ b/rust/cubesql/Cargo.lock @@ -744,7 +744,7 @@ dependencies = [ [[package]] name = "cube-ext" version = "1.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "arrow", "chrono", @@ -868,7 +868,7 @@ dependencies = [ [[package]] name = "datafusion" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", @@ -901,7 +901,7 @@ dependencies = [ [[package]] name = "datafusion-common" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "arrow", "ordered-float 2.10.0", @@ -912,7 +912,7 @@ dependencies = [ [[package]] name = "datafusion-data-access" version = "1.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "async-trait", "chrono", @@ -925,7 +925,7 @@ dependencies = [ [[package]] name = "datafusion-expr" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", @@ -936,7 +936,7 @@ dependencies = [ [[package]] name = "datafusion-physical-expr" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", diff --git a/rust/cubesql/cubesql/Cargo.toml b/rust/cubesql/cubesql/Cargo.toml index 96c0f4bc2bf70..176ffab8082b6 100644 --- a/rust/cubesql/cubesql/Cargo.toml +++ b/rust/cubesql/cubesql/Cargo.toml @@ -10,7 +10,7 @@ homepage = "https://cube.dev" [dependencies] arc-swap = "1" -datafusion = { git = 'https://github.com/cube-js/arrow-datafusion.git', rev = "016c22f74b82f241fc01abd205020cb52b6c911e", default-features = false, features = [ +datafusion = { git = 'https://github.com/cube-js/arrow-datafusion.git', rev = "4f8f7de0617b0580beb5d4140b5f9ce58ef18efc", default-features = false, features = [ "regex_expressions", "unicode_expressions", ] } diff --git a/rust/cubesql/cubesql/src/compile/parser.rs b/rust/cubesql/cubesql/src/compile/parser.rs index 32b0ff8e2e67f..f4a3d543bda14 100644 --- a/rust/cubesql/cubesql/src/compile/parser.rs +++ b/rust/cubesql/cubesql/src/compile/parser.rs @@ -61,20 +61,6 @@ pub fn parse_sql_to_statements( let query = query.replace("UNSIGNED INTEGER", "bigint"); // DBeaver - let query = query.replace( - "SELECT db.oid,db.* FROM pg_catalog.pg_database db", - "SELECT db.oid as _oid,db.* FROM pg_catalog.pg_database db", - ); - let query = query.replace( - "SELECT t.oid,t.*,c.relkind", - "SELECT t.oid as _oid,t.*,c.relkind", - ); - let query = query.replace( - "SELECT n.oid,n.*,d.description FROM", - "SELECT n.oid as _oid,n.*,d.description FROM", - ); - let query = query.replace("SELECT c.oid,c.*,", "SELECT c.oid as _oid,c.*,"); - let query = query.replace("SELECT a.oid,a.*,", "SELECT a.oid as _oid,a.*,"); let query = query.replace( "LEFT OUTER JOIN pg_depend dep on dep.refobjid = a.attrelid AND dep.deptype = 'i' and dep.refobjsubid = a.attnum and dep.classid = dep.refclassid", "LEFT OUTER JOIN pg_depend dep on dep.refobjid = a.attrelid AND dep.deptype = 'i' and dep.refobjsubid = a.attnum", @@ -187,12 +173,6 @@ pub fn parse_sql_to_statements( "WHERE quote_ident(table_schema) IN (current_user, current_schema())", ); - // psqlODBC - let query = query.replace( - "select NULL, NULL, NULL", - "select NULL, NULL AS NULL2, NULL AS NULL3", - ); - // Work around an issue with lowercase table name when queried as uppercase, // an uncommon way of casting literals, and skip a few funcs along the way let query = query.replace( @@ -212,12 +192,6 @@ pub fn parse_sql_to_statements( "c.relname AS partition_name,", ); - // Work around an issue with NULL, NULL, NULL in SELECT - let query = query.replace( - "p.proname AS PROCEDURE_NAME, NULL, NULL, NULL, ", - "p.proname AS PROCEDURE_NAME, NULL AS NULL, NULL AS NULL2, NULL AS NULL3, ", - ); - // Quicksight workarounds // subquery must have an alias let query = query.replace( diff --git a/rust/cubesql/cubesql/src/compile/snapshots/cubesql__compile__tests__psqlodbc_null.snap b/rust/cubesql/cubesql/src/compile/snapshots/cubesql__compile__tests__psqlodbc_null.snap index 74eb1af4682ff..9c4787be16a3f 100644 --- a/rust/cubesql/cubesql/src/compile/snapshots/cubesql__compile__tests__psqlodbc_null.snap +++ b/rust/cubesql/cubesql/src/compile/snapshots/cubesql__compile__tests__psqlodbc_null.snap @@ -1,9 +1,9 @@ --- source: cubesql/src/compile/mod.rs -expression: "execute_query(\"select NULL, NULL, NULL\".to_string(),\n DatabaseProtocol::PostgreSQL).await?" +expression: "execute_query(\"select NULL, NULL, NULL\".to_string(),\nDatabaseProtocol::PostgreSQL,).await?" --- -+------+-------+-------+ -| NULL | NULL2 | NULL3 | -+------+-------+-------+ -| NULL | NULL | NULL | -+------+-------+-------+ ++------+---------+---------+ +| NULL | NULL__1 | NULL__2 | ++------+---------+---------+ +| NULL | NULL | NULL | ++------+---------+---------+ diff --git a/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_databases.snap b/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_databases.snap index 54a1a9680a708..54a8cf945be2b 100644 --- a/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_databases.snap +++ b/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_databases.snap @@ -2,8 +2,8 @@ source: cubesql/src/compile/test/test_introspection.rs expression: "execute_query(\"SELECT db.oid,db.* FROM pg_catalog.pg_database db WHERE datname = 'cubedb'\".to_string(),\nDatabaseProtocol::PostgreSQL).await?" --- -+-------+-------+---------+--------+----------+------------+------------+---------------+--------------+--------------+---------------+--------------+------------+---------------+--------+ -| _oid | oid | datname | datdba | encoding | datcollate | datctype | datistemplate | datallowconn | datconnlimit | datlastsysoid | datfrozenxid | datminmxid | dattablespace | datacl | -+-------+-------+---------+--------+----------+------------+------------+---------------+--------------+--------------+---------------+--------------+------------+---------------+--------+ -| 13757 | 13757 | cubedb | 10 | 6 | en_US.utf8 | en_US.utf8 | false | true | -1 | 13756 | 727 | 1 | 1663 | NULL | -+-------+-------+---------+--------+----------+------------+------------+---------------+--------------+--------------+---------------+--------------+------------+---------------+--------+ ++-------+--------+---------+--------+----------+------------+------------+---------------+--------------+--------------+---------------+--------------+------------+---------------+--------+ +| oid | oid__1 | datname | datdba | encoding | datcollate | datctype | datistemplate | datallowconn | datconnlimit | datlastsysoid | datfrozenxid | datminmxid | dattablespace | datacl | ++-------+--------+---------+--------+----------+------------+------------+---------------+--------------+--------------+---------------+--------------+------------+---------------+--------+ +| 13757 | 13757 | cubedb | 10 | 6 | en_US.utf8 | en_US.utf8 | false | true | -1 | 13756 | 727 | 1 | 1663 | NULL | ++-------+--------+---------+--------+----------+------------+------------+---------------+--------------+--------------+---------------+--------------+------------+---------------+--------+ diff --git a/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_namespaces.snap b/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_namespaces.snap index 27ab049a0a774..c89b7bbba443c 100644 --- a/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_namespaces.snap +++ b/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_namespaces.snap @@ -2,10 +2,10 @@ source: cubesql/src/compile/test/test_introspection.rs expression: "execute_query(\"SELECT n.oid,n.*,d.description FROM pg_catalog.pg_namespace n\n LEFT OUTER JOIN pg_catalog.pg_description d ON d.objoid=n.oid AND d.objsubid=0 AND d.classoid='pg_namespace'::regclass\n ORDER BY nspname\".to_string(),\nDatabaseProtocol::PostgreSQL).await?" --- -+-------+-------+--------------------+----------+--------+------+-------------+ -| _oid | oid | nspname | nspowner | nspacl | xmin | description | -+-------+-------+--------------------+----------+--------+------+-------------+ -| 13000 | 13000 | information_schema | 10 | NULL | 1 | NULL | -| 11 | 11 | pg_catalog | 10 | NULL | 1 | NULL | -| 2200 | 2200 | public | 10 | NULL | 1 | NULL | -+-------+-------+--------------------+----------+--------+------+-------------+ ++-------+--------+--------------------+----------+--------+------+-------------+ +| oid | oid__1 | nspname | nspowner | nspacl | xmin | description | ++-------+--------+--------------------+----------+--------+------+-------------+ +| 13000 | 13000 | information_schema | 10 | NULL | 1 | NULL | +| 11 | 11 | pg_catalog | 10 | NULL | 1 | NULL | +| 2200 | 2200 | public | 10 | NULL | 1 | NULL | ++-------+--------+--------------------+----------+--------+------+-------------+ diff --git a/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_tables_with_descriptions.snap b/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_tables_with_descriptions.snap index 290b8453ff5a5..4b897b6839243 100644 --- a/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_tables_with_descriptions.snap +++ b/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_tables_with_descriptions.snap @@ -2,12 +2,12 @@ source: cubesql/src/compile/test/test_introspection.rs expression: "execute_query(r#\"\n SELECT c.oid,c.*,d.description,pg_catalog.pg_get_expr(c.relpartbound, c.oid) as partition_expr, pg_catalog.pg_get_partkeydef(c.oid) as partition_key \n FROM pg_catalog.pg_class c\n LEFT OUTER JOIN pg_catalog.pg_description d ON d.objoid=c.oid AND d.objsubid=0 AND d.classoid='pg_class'::regclass\n WHERE c.relnamespace=2200 AND c.relkind not in ('i','I','c')\n ORDER BY c.oid\n \"#.to_string(),\nDatabaseProtocol::PostgreSQL).await?" --- -+-------+-------+---------------------------+--------------+---------+-----------+----------+-------+-------------+---------------+----------+-----------+---------------+---------------+-------------+-------------+----------------+---------+----------+-----------+-------------+----------------+----------------+----------------+---------------------+----------------+--------------+----------------+------------+--------------+------------+--------+------------+--------------+------+------------+-------------------------------------------------------+----------------+---------------+ -| _oid | oid | relname | relnamespace | reltype | reloftype | relowner | relam | relfilenode | reltablespace | relpages | reltuples | relallvisible | reltoastrelid | relhasindex | relisshared | relpersistence | relkind | relnatts | relchecks | relhasrules | relhastriggers | relhassubclass | relrowsecurity | relforcerowsecurity | relispopulated | relreplident | relispartition | relrewrite | relfrozenxid | relminmxid | relacl | reloptions | relpartbound | xmin | relhasoids | description | partition_expr | partition_key | -+-------+-------+---------------------------+--------------+---------+-----------+----------+-------+-------------+---------------+----------+-----------+---------------+---------------+-------------+-------------+----------------+---------+----------+-----------+-------------+----------------+----------------+----------------+---------------------+----------------+--------------+----------------+------------+--------------+------------+--------+------------+--------------+------+------------+-------------------------------------------------------+----------------+---------------+ -| 18000 | 18000 | KibanaSampleDataEcommerce | 2200 | 18001 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 17 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | Sample data for tracking eCommerce orders from Kibana | NULL | NULL | -| 18020 | 18020 | Logs | 2200 | 18021 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 7 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | NULL | NULL | NULL | -| 18030 | 18030 | NumberCube | 2200 | 18031 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 3 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | NULL | NULL | NULL | -| 18036 | 18036 | WideCube | 2200 | 18037 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 207 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | NULL | NULL | NULL | -| 18246 | 18246 | MultiTypeCube | 2200 | 18247 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 67 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | Test cube with a little bit of everything | NULL | NULL | -+-------+-------+---------------------------+--------------+---------+-----------+----------+-------+-------------+---------------+----------+-----------+---------------+---------------+-------------+-------------+----------------+---------+----------+-----------+-------------+----------------+----------------+----------------+---------------------+----------------+--------------+----------------+------------+--------------+------------+--------+------------+--------------+------+------------+-------------------------------------------------------+----------------+---------------+ ++-------+--------+---------------------------+--------------+---------+-----------+----------+-------+-------------+---------------+----------+-----------+---------------+---------------+-------------+-------------+----------------+---------+----------+-----------+-------------+----------------+----------------+----------------+---------------------+----------------+--------------+----------------+------------+--------------+------------+--------+------------+--------------+------+------------+-------------------------------------------------------+----------------+---------------+ +| oid | oid__1 | relname | relnamespace | reltype | reloftype | relowner | relam | relfilenode | reltablespace | relpages | reltuples | relallvisible | reltoastrelid | relhasindex | relisshared | relpersistence | relkind | relnatts | relchecks | relhasrules | relhastriggers | relhassubclass | relrowsecurity | relforcerowsecurity | relispopulated | relreplident | relispartition | relrewrite | relfrozenxid | relminmxid | relacl | reloptions | relpartbound | xmin | relhasoids | description | partition_expr | partition_key | ++-------+--------+---------------------------+--------------+---------+-----------+----------+-------+-------------+---------------+----------+-----------+---------------+---------------+-------------+-------------+----------------+---------+----------+-----------+-------------+----------------+----------------+----------------+---------------------+----------------+--------------+----------------+------------+--------------+------------+--------+------------+--------------+------+------------+-------------------------------------------------------+----------------+---------------+ +| 18000 | 18000 | KibanaSampleDataEcommerce | 2200 | 18001 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 17 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | Sample data for tracking eCommerce orders from Kibana | NULL | NULL | +| 18020 | 18020 | Logs | 2200 | 18021 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 7 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | NULL | NULL | NULL | +| 18030 | 18030 | NumberCube | 2200 | 18031 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 3 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | NULL | NULL | NULL | +| 18036 | 18036 | WideCube | 2200 | 18037 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 207 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | NULL | NULL | NULL | +| 18246 | 18246 | MultiTypeCube | 2200 | 18247 | 0 | 10 | 2 | 0 | 0 | 0 | -1 | 0 | 0 | false | false | p | r | 67 | 0 | false | false | false | false | false | true | p | false | 0 | 0 | 1 | NULL | NULL | NULL | 1 | false | Test cube with a little bit of everything | NULL | NULL | ++-------+--------+---------------------------+--------------+---------+-----------+----------+-------+-------------+---------------+----------+-----------+---------------+---------------+-------------+-------------+----------------+---------+----------+-----------+-------------+----------------+----------------+----------------+---------------------+----------------+--------------+----------------+------------+--------------+------------+--------+------------+--------------+------+------------+-------------------------------------------------------+----------------+---------------+ diff --git a/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_types.snap b/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_types.snap index 7cecadd5fafff..b8c4e404f7776 100644 --- a/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_types.snap +++ b/rust/cubesql/cubesql/src/compile/test/snapshots/cubesql__compile__test__test_introspection__dbeaver_introspection_types.snap @@ -2,94 +2,94 @@ source: cubesql/src/compile/test/test_introspection.rs expression: "execute_query(\"SELECT t.oid,t.*,c.relkind,format_type(nullif(t.typbasetype, 0), t.typtypmod) as base_type_name, d.description\n FROM pg_catalog.pg_type t\n LEFT OUTER JOIN pg_catalog.pg_type et ON et.oid=t.typelem\n LEFT OUTER JOIN pg_catalog.pg_class c ON c.oid=t.typrelid\n LEFT OUTER JOIN pg_catalog.pg_description d ON t.oid=d.objoid\n WHERE t.typname IS NOT NULL\n AND (c.relkind IS NULL OR c.relkind = 'c') AND (et.typcategory IS NULL OR et.typcategory <> 'C')\n ORDER BY t.oid ASC\".to_string(),\nDatabaseProtocol::PostgreSQL).await?" --- -+-------+-------+-------------------------+--------------+----------+--------+----------+---------+-------------+---------------+--------------+----------+----------+-----------------------------+---------+----------+---------------------------+-----------+------------+---------+----------+-----------+------------+----------+------------+------------+-------------+-----------+----------+--------------+---------------+------------+--------+------+---------+-------------------+-------------+ -| _oid | oid | typname | typnamespace | typowner | typlen | typbyval | typtype | typcategory | typisprefered | typisdefined | typdelim | typrelid | typsubscript | typelem | typarray | typinput | typoutput | typreceive | typsend | typmodin | typmodout | typanalyze | typalign | typstorage | typnotnull | typbasetype | typtypmod | typndims | typcollation | typdefaultbin | typdefault | typacl | xmin | relkind | base_type_name | description | -+-------+-------+-------------------------+--------------+----------+--------+----------+---------+-------------+---------------+--------------+----------+----------+-----------------------------+---------+----------+---------------------------+-----------+------------+---------+----------+-----------+------------+----------+------------+------------+-------------+-----------+----------+--------------+---------------+------------+--------+------+---------+-------------------+-------------+ -| 16 | 16 | bool | 11 | 10 | 1 | true | b | B | true | true | , | 0 | - | 0 | 1000 | boolin | NULL | 2436 | NULL | NULL | NULL | NULL | c | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 17 | 17 | bytea | 11 | 10 | -1 | false | b | U | false | true | , | 0 | - | 0 | 1001 | byteain | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 19 | 19 | name | 11 | 10 | 64 | false | b | S | false | true | , | 0 | raw_array_subscript_handler | 0 | 1003 | namein | NULL | 0 | NULL | NULL | NULL | NULL | c | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 20 | 20 | int8 | 11 | 10 | 8 | true | b | N | false | true | , | 0 | - | 0 | 1016 | int8in | NULL | 2408 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 21 | 21 | int2 | 11 | 10 | 2 | true | b | N | false | true | , | 0 | - | 0 | 1005 | int2in | NULL | 0 | NULL | NULL | NULL | NULL | s | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 23 | 23 | int4 | 11 | 10 | 4 | true | b | N | false | true | , | 0 | - | 0 | 1007 | int4in | NULL | 2406 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 25 | 25 | text | 11 | 10 | -1 | false | b | S | true | true | , | 0 | - | 0 | 1009 | textin | NULL | 2414 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 26 | 26 | oid | 11 | 10 | 4 | true | b | N | true | true | , | 0 | - | 0 | 1028 | oidin | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 27 | 27 | tid | 11 | 10 | 6 | false | b | U | false | true | , | 0 | - | 0 | 1010 | tidin | NULL | 0 | NULL | NULL | NULL | NULL | s | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 700 | 700 | float4 | 11 | 10 | 4 | true | b | N | false | true | , | 0 | - | 0 | 1021 | float4in | NULL | 2424 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 701 | 701 | float8 | 11 | 10 | 8 | true | b | N | true | true | , | 0 | - | 0 | 1022 | float8in | NULL | 2426 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 790 | 790 | money | 11 | 10 | 8 | true | b | N | false | true | , | 0 | - | 0 | 791 | cash_in | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 791 | 791 | _money | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 790 | 0 | _moneyin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 869 | 869 | inet | 11 | 10 | -1 | false | b | I | true | true | , | 0 | - | 0 | 1041 | inetin | NULL | 0 | NULL | NULL | NULL | NULL | i | m | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1000 | 1000 | _bool | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 16 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1001 | 1001 | _bytea | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 17 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1003 | 1003 | _name | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 19 | 0 | _namein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1005 | 1005 | _int2 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 21 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1007 | 1007 | _int4 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 23 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1009 | 1009 | _text | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 25 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1010 | 1010 | _tid | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 27 | 0 | _tidin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1014 | 1014 | _bpchar | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1042 | 0 | _bpcharin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1015 | 1015 | _varchar | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1043 | 0 | _varcharin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1016 | 1016 | _int8 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 20 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1021 | 1021 | _float4 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 700 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1022 | 1022 | _float8 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 701 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1028 | 1028 | _oid | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 26 | 0 | _oidin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1033 | 1033 | aclitem | 11 | 10 | 12 | false | b | U | false | true | , | 0 | - | 0 | 1034 | aclitemin | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1034 | 1034 | _aclitem | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1033 | 0 | _aclitemin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1041 | 1041 | _inet | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 869 | 0 | _inetin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1042 | 1042 | bpchar | 11 | 10 | -1 | false | b | S | false | true | , | 0 | - | 0 | 1014 | bpcharin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1043 | 1043 | varchar | 11 | 10 | -1 | false | b | S | false | true | , | 0 | - | 0 | 1015 | varcharin | NULL | 2432 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1082 | 1082 | date | 11 | 10 | 4 | true | b | D | false | true | , | 0 | - | 0 | 1182 | date_in | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1083 | 1083 | time | 11 | 10 | 8 | true | b | D | false | true | , | 0 | - | 0 | 1183 | time_in | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1114 | 1114 | timestamp | 11 | 10 | 8 | true | b | D | false | true | , | 0 | - | 0 | 1115 | timestamp_in | NULL | 2474 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1115 | 1115 | _timestamp | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1114 | 0 | _timestampin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1182 | 1182 | _date | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1082 | 0 | _datein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1183 | 1183 | _time | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1083 | 0 | _timein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1184 | 1184 | timestamptz | 11 | 10 | 8 | true | b | D | true | true | , | 0 | - | 0 | 1185 | timestamptz_in | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1185 | 1185 | _timestamptz | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1184 | 0 | _timestamptzin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1186 | 1186 | interval | 11 | 10 | 16 | false | b | T | true | true | , | 0 | - | 0 | 1187 | intervalin | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1187 | 1187 | _interval | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1186 | 0 | _intervalin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1231 | 1231 | _numeric | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1700 | 0 | _numericin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1266 | 1266 | timetz | 11 | 10 | 12 | false | b | D | false | true | , | 0 | - | 0 | 1270 | timetz_in | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1270 | 1270 | _timetz | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1266 | 0 | _timetzin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 1700 | 1700 | numeric | 11 | 10 | -1 | false | b | N | false | true | , | 0 | - | 0 | 1231 | numericin | NULL | 2460 | NULL | NULL | NULL | NULL | i | m | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 2249 | 2249 | record | 11 | 10 | -1 | false | p | P | false | true | , | 0 | - | 0 | 2287 | recordin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 2277 | 2277 | anyarray | 11 | 10 | -1 | false | p | P | false | true | , | 0 | - | 0 | 0 | anyarrayin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 2283 | 2283 | anyelement | 11 | 10 | 4 | true | p | P | false | true | , | 0 | - | 0 | 0 | anyelementin | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 2287 | 2287 | _record | 11 | 10 | -1 | false | p | P | false | true | , | 0 | array_subscript_handler | 2249 | 0 | _recordin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3220 | 3220 | pg_lsn | 11 | 10 | 8 | true | b | U | false | true | , | 0 | - | 0 | 3221 | pg_lsnin | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3221 | 3221 | _pg_lsn | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3220 | 0 | _pg_lsnin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3500 | 3500 | anyenum | 11 | 10 | 4 | true | p | P | false | true | , | 0 | - | 0 | 0 | anyenumin | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3831 | 3831 | anyrange | 11 | 10 | -1 | false | p | P | false | true | , | 0 | - | 0 | 0 | anyrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3904 | 3904 | int4range | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3905 | int4rangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3905 | 3905 | _int4range | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3904 | 0 | _int4rangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3906 | 3906 | numrange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3907 | numrangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3907 | 3907 | _numrange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3906 | 0 | _numrangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3908 | 3908 | tsrange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3909 | tsrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3909 | 3909 | _tsrange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3908 | 0 | _tsrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3910 | 3910 | tstzrange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3911 | tstzrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3911 | 3911 | _tstzrange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3910 | 0 | _tstzrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3912 | 3912 | daterange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3913 | daterangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3913 | 3913 | _daterange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3912 | 0 | _daterangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3926 | 3926 | int8range | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3927 | int8rangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 3927 | 3927 | _int8range | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3926 | 0 | _int8rangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 4451 | 4451 | int4multirange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 6150 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 4532 | 4532 | nummultirange | 11 | 10 | -1 | false | m | R | false | true | , | 0 | - | 0 | 6151 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 4533 | 4533 | tsmultirange | 11 | 10 | -1 | false | m | R | false | true | , | 0 | - | 0 | 6152 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 4535 | 4535 | datemultirange | 11 | 10 | -1 | false | m | R | false | true | , | 0 | - | 0 | 6155 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 4536 | 4536 | int8multirange | 11 | 10 | -1 | false | m | R | false | true | , | 0 | - | 0 | 6157 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 6150 | 6150 | _int4multirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4451 | 0 | _int4multirangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 6151 | 6151 | _nummultirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4532 | 0 | _nummultirangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 6152 | 6152 | _tsmultirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4533 | 0 | _tsmultirangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 6155 | 6155 | _datemultirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4535 | 0 | _datemultirangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 6157 | 6157 | _int8multirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4536 | 0 | _int8multirangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 10015 | 10015 | pg_am | 11 | 10 | -1 | false | c | C | false | true | , | 2601 | - | 0 | 10014 | pg_amin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 10021 | 10021 | pg_language | 11 | 10 | -1 | false | c | C | false | true | , | 2612 | - | 0 | 10020 | pg_languagein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 10039 | 10039 | pg_event_trigger | 11 | 10 | -1 | false | c | C | false | true | , | 3466 | - | 0 | 10038 | pg_event_triggerin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 10043 | 10043 | pg_cast | 11 | 10 | -1 | false | c | C | false | true | , | 2605 | - | 0 | 10042 | pg_castin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 10074 | 10074 | pg_extension | 11 | 10 | -1 | false | c | C | false | true | , | 3079 | - | 0 | 10073 | pg_extensionin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 10076 | 10076 | pg_foreign_data_wrapper | 11 | 10 | -1 | false | c | C | false | true | , | 2328 | - | 0 | 10075 | pg_foreign_data_wrapperin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 10078 | 10078 | pg_foreign_server | 11 | 10 | -1 | false | c | C | false | true | , | 1417 | - | 0 | 10077 | pg_foreign_serverin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 12003 | 12003 | pg_constraint | 11 | 10 | -1 | false | c | C | false | true | , | 2606 | - | 0 | 12002 | pg_constraintin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 12047 | 12047 | pg_namespace | 11 | 10 | -1 | false | c | C | false | true | , | 2615 | - | 0 | 12046 | record_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | -| 13408 | 13408 | character_data | 13000 | 10 | -1 | false | d | S | false | true | , | 0 | - | 0 | 0 | character_datain | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 1043 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | character varying | NULL | -| 13410 | 13410 | sql_identifier | 13000 | 10 | 64 | false | d | S | false | true | , | 0 | - | 0 | 0 | sql_identifierin | NULL | 0 | NULL | NULL | NULL | NULL | c | p | false | 19 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | name | NULL | -+-------+-------+-------------------------+--------------+----------+--------+----------+---------+-------------+---------------+--------------+----------+----------+-----------------------------+---------+----------+---------------------------+-----------+------------+---------+----------+-----------+------------+----------+------------+------------+-------------+-----------+----------+--------------+---------------+------------+--------+------+---------+-------------------+-------------+ ++-------+--------+-------------------------+--------------+----------+--------+----------+---------+-------------+---------------+--------------+----------+----------+-----------------------------+---------+----------+---------------------------+-----------+------------+---------+----------+-----------+------------+----------+------------+------------+-------------+-----------+----------+--------------+---------------+------------+--------+------+---------+-------------------+-------------+ +| oid | oid__1 | typname | typnamespace | typowner | typlen | typbyval | typtype | typcategory | typisprefered | typisdefined | typdelim | typrelid | typsubscript | typelem | typarray | typinput | typoutput | typreceive | typsend | typmodin | typmodout | typanalyze | typalign | typstorage | typnotnull | typbasetype | typtypmod | typndims | typcollation | typdefaultbin | typdefault | typacl | xmin | relkind | base_type_name | description | ++-------+--------+-------------------------+--------------+----------+--------+----------+---------+-------------+---------------+--------------+----------+----------+-----------------------------+---------+----------+---------------------------+-----------+------------+---------+----------+-----------+------------+----------+------------+------------+-------------+-----------+----------+--------------+---------------+------------+--------+------+---------+-------------------+-------------+ +| 16 | 16 | bool | 11 | 10 | 1 | true | b | B | true | true | , | 0 | - | 0 | 1000 | boolin | NULL | 2436 | NULL | NULL | NULL | NULL | c | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 17 | 17 | bytea | 11 | 10 | -1 | false | b | U | false | true | , | 0 | - | 0 | 1001 | byteain | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 19 | 19 | name | 11 | 10 | 64 | false | b | S | false | true | , | 0 | raw_array_subscript_handler | 0 | 1003 | namein | NULL | 0 | NULL | NULL | NULL | NULL | c | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 20 | 20 | int8 | 11 | 10 | 8 | true | b | N | false | true | , | 0 | - | 0 | 1016 | int8in | NULL | 2408 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 21 | 21 | int2 | 11 | 10 | 2 | true | b | N | false | true | , | 0 | - | 0 | 1005 | int2in | NULL | 0 | NULL | NULL | NULL | NULL | s | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 23 | 23 | int4 | 11 | 10 | 4 | true | b | N | false | true | , | 0 | - | 0 | 1007 | int4in | NULL | 2406 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 25 | 25 | text | 11 | 10 | -1 | false | b | S | true | true | , | 0 | - | 0 | 1009 | textin | NULL | 2414 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 26 | 26 | oid | 11 | 10 | 4 | true | b | N | true | true | , | 0 | - | 0 | 1028 | oidin | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 27 | 27 | tid | 11 | 10 | 6 | false | b | U | false | true | , | 0 | - | 0 | 1010 | tidin | NULL | 0 | NULL | NULL | NULL | NULL | s | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 700 | 700 | float4 | 11 | 10 | 4 | true | b | N | false | true | , | 0 | - | 0 | 1021 | float4in | NULL | 2424 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 701 | 701 | float8 | 11 | 10 | 8 | true | b | N | true | true | , | 0 | - | 0 | 1022 | float8in | NULL | 2426 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 790 | 790 | money | 11 | 10 | 8 | true | b | N | false | true | , | 0 | - | 0 | 791 | cash_in | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 791 | 791 | _money | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 790 | 0 | _moneyin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 869 | 869 | inet | 11 | 10 | -1 | false | b | I | true | true | , | 0 | - | 0 | 1041 | inetin | NULL | 0 | NULL | NULL | NULL | NULL | i | m | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1000 | 1000 | _bool | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 16 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1001 | 1001 | _bytea | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 17 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1003 | 1003 | _name | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 19 | 0 | _namein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1005 | 1005 | _int2 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 21 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1007 | 1007 | _int4 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 23 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1009 | 1009 | _text | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 25 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1010 | 1010 | _tid | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 27 | 0 | _tidin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1014 | 1014 | _bpchar | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1042 | 0 | _bpcharin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1015 | 1015 | _varchar | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1043 | 0 | _varcharin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1016 | 1016 | _int8 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 20 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1021 | 1021 | _float4 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 700 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1022 | 1022 | _float8 | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 701 | 0 | array_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1028 | 1028 | _oid | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 26 | 0 | _oidin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1033 | 1033 | aclitem | 11 | 10 | 12 | false | b | U | false | true | , | 0 | - | 0 | 1034 | aclitemin | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1034 | 1034 | _aclitem | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1033 | 0 | _aclitemin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1041 | 1041 | _inet | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 869 | 0 | _inetin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1042 | 1042 | bpchar | 11 | 10 | -1 | false | b | S | false | true | , | 0 | - | 0 | 1014 | bpcharin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1043 | 1043 | varchar | 11 | 10 | -1 | false | b | S | false | true | , | 0 | - | 0 | 1015 | varcharin | NULL | 2432 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1082 | 1082 | date | 11 | 10 | 4 | true | b | D | false | true | , | 0 | - | 0 | 1182 | date_in | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1083 | 1083 | time | 11 | 10 | 8 | true | b | D | false | true | , | 0 | - | 0 | 1183 | time_in | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1114 | 1114 | timestamp | 11 | 10 | 8 | true | b | D | false | true | , | 0 | - | 0 | 1115 | timestamp_in | NULL | 2474 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1115 | 1115 | _timestamp | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1114 | 0 | _timestampin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1182 | 1182 | _date | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1082 | 0 | _datein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1183 | 1183 | _time | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1083 | 0 | _timein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1184 | 1184 | timestamptz | 11 | 10 | 8 | true | b | D | true | true | , | 0 | - | 0 | 1185 | timestamptz_in | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1185 | 1185 | _timestamptz | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1184 | 0 | _timestamptzin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1186 | 1186 | interval | 11 | 10 | 16 | false | b | T | true | true | , | 0 | - | 0 | 1187 | intervalin | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1187 | 1187 | _interval | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1186 | 0 | _intervalin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1231 | 1231 | _numeric | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1700 | 0 | _numericin | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1266 | 1266 | timetz | 11 | 10 | 12 | false | b | D | false | true | , | 0 | - | 0 | 1270 | timetz_in | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1270 | 1270 | _timetz | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 1266 | 0 | _timetzin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 1700 | 1700 | numeric | 11 | 10 | -1 | false | b | N | false | true | , | 0 | - | 0 | 1231 | numericin | NULL | 2460 | NULL | NULL | NULL | NULL | i | m | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 2249 | 2249 | record | 11 | 10 | -1 | false | p | P | false | true | , | 0 | - | 0 | 2287 | recordin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 2277 | 2277 | anyarray | 11 | 10 | -1 | false | p | P | false | true | , | 0 | - | 0 | 0 | anyarrayin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 2283 | 2283 | anyelement | 11 | 10 | 4 | true | p | P | false | true | , | 0 | - | 0 | 0 | anyelementin | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 2287 | 2287 | _record | 11 | 10 | -1 | false | p | P | false | true | , | 0 | array_subscript_handler | 2249 | 0 | _recordin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3220 | 3220 | pg_lsn | 11 | 10 | 8 | true | b | U | false | true | , | 0 | - | 0 | 3221 | pg_lsnin | NULL | 0 | NULL | NULL | NULL | NULL | d | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3221 | 3221 | _pg_lsn | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3220 | 0 | _pg_lsnin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3500 | 3500 | anyenum | 11 | 10 | 4 | true | p | P | false | true | , | 0 | - | 0 | 0 | anyenumin | NULL | 0 | NULL | NULL | NULL | NULL | i | p | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3831 | 3831 | anyrange | 11 | 10 | -1 | false | p | P | false | true | , | 0 | - | 0 | 0 | anyrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3904 | 3904 | int4range | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3905 | int4rangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3905 | 3905 | _int4range | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3904 | 0 | _int4rangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3906 | 3906 | numrange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3907 | numrangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3907 | 3907 | _numrange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3906 | 0 | _numrangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3908 | 3908 | tsrange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3909 | tsrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3909 | 3909 | _tsrange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3908 | 0 | _tsrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3910 | 3910 | tstzrange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3911 | tstzrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3911 | 3911 | _tstzrange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3910 | 0 | _tstzrangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3912 | 3912 | daterange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3913 | daterangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3913 | 3913 | _daterange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3912 | 0 | _daterangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3926 | 3926 | int8range | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 3927 | int8rangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 3927 | 3927 | _int8range | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 3926 | 0 | _int8rangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 4451 | 4451 | int4multirange | 11 | 10 | -1 | false | r | R | false | true | , | 0 | - | 0 | 6150 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 4532 | 4532 | nummultirange | 11 | 10 | -1 | false | m | R | false | true | , | 0 | - | 0 | 6151 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 4533 | 4533 | tsmultirange | 11 | 10 | -1 | false | m | R | false | true | , | 0 | - | 0 | 6152 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 4535 | 4535 | datemultirange | 11 | 10 | -1 | false | m | R | false | true | , | 0 | - | 0 | 6155 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 4536 | 4536 | int8multirange | 11 | 10 | -1 | false | m | R | false | true | , | 0 | - | 0 | 6157 | multirange_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 6150 | 6150 | _int4multirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4451 | 0 | _int4multirangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 6151 | 6151 | _nummultirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4532 | 0 | _nummultirangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 6152 | 6152 | _tsmultirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4533 | 0 | _tsmultirangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 6155 | 6155 | _datemultirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4535 | 0 | _datemultirangein | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 6157 | 6157 | _int8multirange | 11 | 10 | -1 | false | b | A | false | true | , | 0 | array_subscript_handler | 4536 | 0 | _int8multirangein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 10015 | 10015 | pg_am | 11 | 10 | -1 | false | c | C | false | true | , | 2601 | - | 0 | 10014 | pg_amin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 10021 | 10021 | pg_language | 11 | 10 | -1 | false | c | C | false | true | , | 2612 | - | 0 | 10020 | pg_languagein | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 10039 | 10039 | pg_event_trigger | 11 | 10 | -1 | false | c | C | false | true | , | 3466 | - | 0 | 10038 | pg_event_triggerin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 10043 | 10043 | pg_cast | 11 | 10 | -1 | false | c | C | false | true | , | 2605 | - | 0 | 10042 | pg_castin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 10074 | 10074 | pg_extension | 11 | 10 | -1 | false | c | C | false | true | , | 3079 | - | 0 | 10073 | pg_extensionin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 10076 | 10076 | pg_foreign_data_wrapper | 11 | 10 | -1 | false | c | C | false | true | , | 2328 | - | 0 | 10075 | pg_foreign_data_wrapperin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 10078 | 10078 | pg_foreign_server | 11 | 10 | -1 | false | c | C | false | true | , | 1417 | - | 0 | 10077 | pg_foreign_serverin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 12003 | 12003 | pg_constraint | 11 | 10 | -1 | false | c | C | false | true | , | 2606 | - | 0 | 12002 | pg_constraintin | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 12047 | 12047 | pg_namespace | 11 | 10 | -1 | false | c | C | false | true | , | 2615 | - | 0 | 12046 | record_in | NULL | 0 | NULL | NULL | NULL | NULL | d | x | false | 0 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | +| 13408 | 13408 | character_data | 13000 | 10 | -1 | false | d | S | false | true | , | 0 | - | 0 | 0 | character_datain | NULL | 0 | NULL | NULL | NULL | NULL | i | x | false | 1043 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | character varying | NULL | +| 13410 | 13410 | sql_identifier | 13000 | 10 | 64 | false | d | S | false | true | , | 0 | - | 0 | 0 | sql_identifierin | NULL | 0 | NULL | NULL | NULL | NULL | c | p | false | 19 | -1 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | name | NULL | ++-------+--------+-------------------------+--------------+----------+--------+----------+---------+-------------+---------------+--------------+----------+----------+-----------------------------+---------+----------+---------------------------+-----------+------------+---------+----------+-----------+------------+----------+------------+------------+-------------+-----------+----------+--------------+---------------+------------+--------+------+---------+-------------------+-------------+ diff --git a/rust/cubesqlplanner/Cargo.lock b/rust/cubesqlplanner/Cargo.lock index ed9fcfd2ef2c3..18c9220c3eccd 100644 --- a/rust/cubesqlplanner/Cargo.lock +++ b/rust/cubesqlplanner/Cargo.lock @@ -664,7 +664,7 @@ dependencies = [ [[package]] name = "cube-ext" version = "1.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "arrow", "chrono", @@ -777,7 +777,7 @@ dependencies = [ [[package]] name = "datafusion" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", @@ -810,7 +810,7 @@ dependencies = [ [[package]] name = "datafusion-common" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "arrow", "ordered-float 2.10.1", @@ -821,7 +821,7 @@ dependencies = [ [[package]] name = "datafusion-data-access" version = "1.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "async-trait", "chrono", @@ -834,7 +834,7 @@ dependencies = [ [[package]] name = "datafusion-expr" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow", @@ -845,7 +845,7 @@ dependencies = [ [[package]] name = "datafusion-physical-expr" version = "7.0.0" -source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=016c22f74b82f241fc01abd205020cb52b6c911e#016c22f74b82f241fc01abd205020cb52b6c911e" +source = "git+https://github.com/cube-js/arrow-datafusion.git?rev=4f8f7de0617b0580beb5d4140b5f9ce58ef18efc#4f8f7de0617b0580beb5d4140b5f9ce58ef18efc" dependencies = [ "ahash 0.7.8", "arrow",