-
Notifications
You must be signed in to change notification settings - Fork 335
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
Interval type can't flush to parquet #3235
Comments
We should not allow users to create a table with an interval type. We can validate this while creating a table. |
it will be a break change? |
I think if not allow users to create a table with an interval type, will break a lot of user tables.. maybe we can not allow it flush to parquet maybe? |
…eam#3235 Signed-off-by: yihong0618 <[email protected]>
This breaking should be fine since most users won't create a table with interval types. A table with interval type actually won't work now because the database can't persist it. |
sounds fine, will update my pull request in create side, is that OK? FYI: for now, there are a few tables with interval field in the test |
Can we update these tests? I'll recommend users not store an interval type. e.g. It's hard to answer the maximum interval of 1 month and 31 days...... |
yes, will try |
…reptimeTeam#3235" This reverts commit ffc63ef.
…Team#3235 Signed-off-by: yihong0618 <[email protected]>
…eam#3235 Signed-off-by: yihong0618 <[email protected]>
…reptimeTeam#3235" This reverts commit ffc63ef.
…Team#3235 Signed-off-by: yihong0618 <[email protected]>
) * fix: flash table panic when table has interval column close #3235 Signed-off-by: yihong0618 <[email protected]> * Revert "fix: flash table panic when table has interval column close #3235" This reverts commit ffc63ef. * fix: create table do not support interval type for now close #3235 Signed-off-by: yihong0618 <[email protected]> * fix: sqlness Signed-off-by: yihong0618 <[email protected]> * fix: address comments Signed-off-by: yihong0618 <[email protected]> * fix: address comments fix conflict and more tests Signed-off-by: yihong0618 <[email protected]> * fix: address final comments drop useless sqlness tests Signed-off-by: yihong0618 <[email protected]> --------- Signed-off-by: yihong0618 <[email protected]>
What type of bug is this?
Unexpected error
What subsystems are affected?
Storage Engine
Minimal reproduce step
it will show
Failed to encode record batch: NYI: Attempting to write an Arrow interval type MonthDayNano to parquet that is not yet implemented
What did you expect to see?
None
What did you see instead?
None
What operating system did you use?
Mac OS X Ventura 13.2 ARM
What version of GreptimeDB did you use?
0.6
Relevant log output and stack trace
The text was updated successfully, but these errors were encountered: