-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
cubestore preAggregations Unsupported CAST from Utf8 to Timestamp(Nanosecond, None) #2646
Comments
Hey @rongfengliang ! We indeed need a better way of handling it. However, the issue origin is the lack of timestamp cast during rollup preparation. We actually want to avoid any implicit UTF8 to timestamp casts during query time as those are really slow. So you just need to add one in your time dimension |
@paveltiunov thanks , i have add time dimension sql in cube.js schema . if i add time filter will cause this problem |
@rongfengliang Could you please share your cube.js schema? |
@i found this maybe caused by data type mapper (create table in cubestore)
this is my schema
my tabel define
if i filter with myinfo is ok, startdate && insertdata will cause convert exception cubestore table info |
@rongfengliang Gotcha. Generally speaking, Cube Store is designed to store rollups and not originalSql pre-aggregations. We're still going to support |
@paveltiunov thanks !!! |
Describe the bug
Unsupported CAST from Utf8 to Timestamp(Nanosecond, None)
Screenshots
Version:
[e.g. 0.27.4 ]
some links apache/arrow#9449
The text was updated successfully, but these errors were encountered: