-
Notifications
You must be signed in to change notification settings - Fork 36
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
Materialize storage driver package #421
Materialize storage driver package #421
Conversation
🦋 Changeset detectedLatest commit: f847403 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
4fdb2b0
to
0416f49
Compare
4e63867
to
0f645b1
Compare
@@ -26,6 +28,10 @@ describe('materializedRef function', async () => { | |||
'query.sql': sql, | |||
}, | |||
}, | |||
[MATERIALIZE_QUERIES_DIR]: { | |||
'c669ba7574cadcfd9527e449feeb6a3fe8c23e23d0fef0893d3011c85ac88624.parquet': |
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.
save this custom id to a variable and use that instead
@@ -41,7 +47,46 @@ describe('materializedRef function', async () => { | |||
sql, | |||
}, | |||
}) | |||
expect(compiled.sql).toBe('SELECT * FROM (SELECT * FROM users)') | |||
expect(compiled.sql).toBe( | |||
`SELECT * FROM (read_parquet('${MATERIALIZE_QUERIES_DIR}/c669ba7574cadcfd9527e449feeb6a3fe8c23e23d0fef0893d3011c85ac88624.parquet'))`, |
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.
☝️ ditto here
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.
I like to have hardcoded strings in the tests. This way I can't lie to myself by setting the wrong value in a variable. Now each time the result changes for any reason this test will fail. Which is what I want
0f645b1
to
fa82bca
Compare
When reading with DuckDB the parquet files from materialized queries we need a way of knowing where those queries are stored. We want to allow different ways of storing these parquet files. In this commit we start implementing the driver and the disk implementation that will be used almost always in development
fa82bca
to
f847403
Compare
Describe your changes
When reading with DuckDB the parquet files from materialized queries we need a way of knowing where those queries are stored. We want to allow different ways of storing these parquet files. In this commit we start implementing the driver and the disk implementation that will be used almost always in development
Issue ticket number and link
#369
Checklist before requesting a review
apps/server