Skip to content

Commit 9092f65

Browse files
Prepare release 0.4.0 (#128)
1 parent a1193c9 commit 9092f65

File tree

7 files changed

+44
-15
lines changed

7 files changed

+44
-15
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"rust-analyzer.checkOnSave": true,
66
"editor.inlayHints.enabled": "offUnlessPressed",
77
"files.watcherExclude": {
8-
"**/target/**": true
8+
"**/target/**": true
9+
},
10+
"[sql]": {
11+
"editor.formatOnSave": false
912
}
1013
}

Cargo.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pg_parquet"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
edition = "2021"
55
license-file = "LICENSE"
66

sql/pg_parquet--0.3.0--0.3.1.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- no changes

sql/pg_parquet--0.3.1--0.3.2.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- no changes

sql/pg_parquet--0.3.2--0.4.0.sql

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-- parquet stats function
2+
CREATE FUNCTION parquet."column_stats"("uri" TEXT) RETURNS TABLE (
3+
"column_id" INT,
4+
"field_id" INT,
5+
"stats_min" TEXT,
6+
"stats_max" TEXT,
7+
"stats_null_count" BIGINT,
8+
"stats_distinct_count" BIGINT
9+
) STRICT
10+
LANGUAGE c
11+
AS 'MODULE_PATHNAME', 'column_stats_wrapper';

sql/pg_parquet.sql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ AS 'MODULE_PATHNAME', 'file_metadata_wrapper';
7373

7474
CREATE SCHEMA IF NOT EXISTS parquet;
7575

76+
-- parquet schema function
7677
CREATE FUNCTION parquet."schema"(
7778
"uri" TEXT
7879
) RETURNS TABLE (
@@ -91,3 +92,15 @@ CREATE FUNCTION parquet."schema"(
9192
STRICT
9293
LANGUAGE c
9394
AS 'MODULE_PATHNAME', 'schema_wrapper';
95+
96+
-- parquet stats function
97+
CREATE FUNCTION parquet."column_stats"("uri" TEXT) RETURNS TABLE (
98+
"column_id" INT,
99+
"field_id" INT,
100+
"stats_min" TEXT,
101+
"stats_max" TEXT,
102+
"stats_null_count" BIGINT,
103+
"stats_distinct_count" BIGINT
104+
) STRICT
105+
LANGUAGE c
106+
AS 'MODULE_PATHNAME', 'column_stats_wrapper';

0 commit comments

Comments
 (0)