Skip to content

[CALCITE-3381] Correct type convesion of tiny int, small int, integer… - #1561

Closed
amaliujia wants to merge 1 commit into
apache:masterfrom
amaliujia:rw-add_more_data_types
Closed

[CALCITE-3381] Correct type convesion of tiny int, small int, integer…#1561
amaliujia wants to merge 1 commit into
apache:masterfrom
amaliujia:rw-add_more_data_types

Conversation

@amaliujia

Copy link
Copy Markdown
Contributor

…, float, char, binary in BigQueryDialect.

@amaliujia

Copy link
Copy Markdown
Contributor Author

@danny0405

amaliujia referenced this pull request Nov 6, 2019
…s SQL types to BigQuery types (Rui Wang)

VARCHAR -> STRING
VARBINARY -> BYTES
BIGINT -> INT64
DECIMAL -> NUMERIC
DOUBLE -> FLOAT64
BOOLEAN -> BOOL
DATE -> DATE
TIME -> TIME
TIMESTAMP -> TIMESTAMP

Close #1482
@amaliujia
amaliujia force-pushed the rw-add_more_data_types branch from 4fc170f to 2fc3180 Compare November 6, 2019 22:29
@amaliujia
amaliujia force-pushed the rw-add_more_data_types branch from 2fc3180 to f42de9d Compare November 6, 2019 23:40
@danny0405 danny0405 changed the title [CALCITE-3381] correct type convesion of tiny int, small int, integer… [CALCITE-3381] Correct type convesion of tiny int, small int, integer… Nov 7, 2019
@danny0405 danny0405 added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Nov 7, 2019
@danny0405 danny0405 closed this in 4e70e7f Nov 7, 2019
@amaliujia
amaliujia deleted the rw-add_more_data_types branch November 7, 2019 05:10
XuQianJin-Stars pushed a commit to XuQianJin-Stars/calcite that referenced this pull request Nov 17, 2019
…s SQL types to BigQuery types (part2) (Rui Wang)

Tweak the BigQuery data type as following:
* Integers(from TINYINT to BIGINT) -> INT64
* Fractional(float, double) -> FLOAT64
* Characters(CHAR, VARCHAR) -> STRING
* Binarys(BINARY, VARBINARY) -> BYTES

close apache#1561
XuQianJin-Stars pushed a commit to XuQianJin-Stars/calcite that referenced this pull request Nov 20, 2019
…s SQL types to BigQuery types (part2) (Rui Wang)

Tweak the BigQuery data type as following:
* Integers(from TINYINT to BIGINT) -> INT64
* Fractional(float, double) -> FLOAT64
* Characters(CHAR, VARCHAR) -> STRING
* Binarys(BINARY, VARBINARY) -> BYTES

close apache#1561
XuQianJin-Stars pushed a commit to XuQianJin-Stars/calcite that referenced this pull request Nov 20, 2019
…s SQL types to BigQuery types (part2) (Rui Wang)

Tweak the BigQuery data type as following:
* Integers(from TINYINT to BIGINT) -> INT64
* Fractional(float, double) -> FLOAT64
* Characters(CHAR, VARCHAR) -> STRING
* Binarys(BINARY, VARBINARY) -> BYTES

close apache#1561
wangxlong pushed a commit to wangxlong/calcite that referenced this pull request Feb 13, 2020
…s SQL types to BigQuery types (part2) (Rui Wang)

Tweak the BigQuery data type as following:
* Integers(from TINYINT to BIGINT) -> INT64
* Fractional(float, double) -> FLOAT64
* Characters(CHAR, VARCHAR) -> STRING
* Binarys(BINARY, VARBINARY) -> BYTES

close apache#1561
jamesstarr pushed a commit to jamesstarr/calcite that referenced this pull request Aug 28, 2025
…s SQL types to BigQuery types (part2) (Rui Wang)

Tweak the BigQuery data type as following:
* Integers(from TINYINT to BIGINT) -> INT64
* Fractional(float, double) -> FLOAT64
* Characters(CHAR, VARCHAR) -> STRING
* Binarys(BINARY, VARBINARY) -> BYTES

close apache#1561

Change-Id: I9390ef1f7e1ee3d7b0191503e11e03b41633bd14
jamesstarr pushed a commit to jamesstarr/calcite that referenced this pull request Mar 16, 2026
…s SQL types to BigQuery types (part2) (Rui Wang)

Tweak the BigQuery data type as following:
* Integers(from TINYINT to BIGINT) -> INT64
* Fractional(float, double) -> FLOAT64
* Characters(CHAR, VARCHAR) -> STRING
* Binarys(BINARY, VARBINARY) -> BYTES

close apache#1561

Change-Id: I9390ef1f7e1ee3d7b0191503e11e03b41633bd14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LGTM-will-merge-soon Overall PR looks OK. Only minor things left.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants