-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Several fixes and additions #153
Open
gallejesus
wants to merge
20
commits into
shaped-ai:main
Choose a base branch
from
gallejesus:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
5d28d55
fix insert array type
afc3881
testing type conversions
Plozano94 b43d7a7
Giving up in Any Of case
Plozano94 1c79aa0
added test for all types column
045da20
Overwritting conform_name
Plozano94 ba343ba
Merge pull request #1 from gallejesus/fix-arrays
gallejesus 23d5104
Fixing decimal
Plozano94 3784e24
Merge pull request #2 from gallejesus/bugfix/decimal
gallejesus fff5a84
skip activate_version if metadata not added
3d2154a
Merge pull request #3 from gallejesus/skip-activate_version
gallejesus c7538cd
fix decimals
5188368
Merge pull request #4 from gallejesus/fix-decimals
gallejesus 6408673
Merge branch 'main' into merge-origin
2714fb3
fix tests naming
729801c
add all_types suitetest
a80403d
remove all datetimes nullable?
8a0ce4d
Merge pull request #6 from gallejesus/merge-origin
gallejesus ac612c7
use type Date32 for dates in ch
d7ff030
Merge branch 'main' into main
gallejesus 863eeb4
poetry from remote
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: '3' | ||
|
||
services: | ||
clickhouse-server: | ||
image: "clickhouse/clickhouse-server:22.5.1.2079" | ||
container_name: test-clickhouse-server | ||
environment: | ||
CLICKHOUSE_USER: default | ||
CLICKHOUSE_PASSWORD: | ||
CLICKHOUSE_DB: default | ||
volumes: | ||
- type: bind | ||
source: ./integration-db | ||
target: /docker-entrypoint-initdb.d | ||
ports: | ||
- "127.0.0.1:9000:9000" | ||
- "127.0.0.1:8123:8123" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE TABLE simple_table ( | ||
id INTEGER, | ||
updated_at DATE, | ||
name VARCHAR | ||
) | ||
ENGINE = MergeTree() | ||
PRIMARY KEY id; | ||
|
||
INSERT INTO simple_table VALUES (1, '2023-10-22 10:00:00', 'test1'); | ||
INSERT INTO simple_table VALUES (2, '2023-10-22 11:00:00', 'test3'); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this to use the newly added Date32 Clickhouse SQLAlchemy type I added, as the Clickhouse Date type doesn't support date values before epoch I switched to using that type to be able to ingest dates in the past.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, great! Let me take a look at it and change it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @BTheunissen , I had time now to check it and I think the last commit fixes it, using the Date32 added in clickhouse-sqlalchemy v0.3.2. Can you check it? Thanks!