-
Notifications
You must be signed in to change notification settings - Fork 5
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
Float/real type cannot be read #133
Comments
Hi @OssiLehtinen, You are quiet right, this is an oversight. As I didn't realise that Athena only uses |
When float has been create in the tables ddl what does that column data type return as: I could always just add |
@OssiLehtinen is there any other Data types that are missing? I am not a 100% sure if binary, map, array and struct can be simply added without some extra thinking it through. Potentially cast them as strings for the file readrs and then parse them using jsonlite 🤔 |
I'm afk atm but I think it returns real. Will have to check, but probably only tomorrow. |
Didn't bump into issues with other baisc types. Arrays etc definitely don't work so I have been avoiding them. An interesting idea to read them in as strings and parse afterwards! |
I will raise another ticket around the array data type, as I might not be able to get it working :P |
Hi Dyfan,
it appears that noctua doesn't know how to interpret a query result with the type 'real'.
For example:
produces the error: "Error: Unknown shortcut: real"
Should AthenaToRDataType-function have mapping for 'real' included (instead of 'float')?
noctua/R/DataTypes.R
Line 23 in 3b9d5d5
noctua/R/DataTypes.R
Line 47 in 3b9d5d5
The text was updated successfully, but these errors were encountered: