Closed JohnMwashuma closed 2 years ago
Hey @JohnMwashuma ! It'd be beneficial if you can provide a full cube schema.
Hey @JohnMwashuma ! It'd be beneficial if you can provide a full cube schema.
@paveltiunov I have updated the issue with all the cube dimensions and measures
@JohnMwashuma CAST(AS FLOAT)
indeed doesn't work in Athena. You may want to try double
instead.
Describe the bug
Am getting an
unknown float type
error when I create the following measure and try querying a csv on amazon s3 using the Athena Driver. I tried updating the athena driver and cube js backend packages to recent versions and it's still failling.Dimensions
Measures
Generated SQL
NB: I have replaced the actual values for
cube name
andtable name
with<cube_name>
and<table_name>
respectively."SELECT\n CAST(count(\"<cube_name>\".beds) as float) \"<cube_name>"\n FROM\n \"<table_name>\" AS \"<cube_name>\"\n LIMIT 5000",
Error
Version: