We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running a query using run_with_names, sub records are not converted to named hashes.
run_with_names
For example an originating Avro schema that looks like this:
{ "name": "issuer", "type": { "type": "record", "name": "issuer", "fields": [ { "name": "country", "type": { "name": "country", "type": "array", "items": "string" } }, ...
Returns data that outputs like:
"issuer"=>[["US"], ...
Looking at the information returned in columns when querying using run I do see the issuer sub record type information available, for example:
run
#<struct Presto::Client::ModelVersions::V0_153::ClientColumn name="issuer", type="row(country array(varchar), ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running a query using
run_with_names
, sub records are not converted to named hashes.For example an originating Avro schema that looks like this:
Returns data that outputs like:
Looking at the information returned in columns when querying using
run
I do see the issuer sub record type information available, for example:The text was updated successfully, but these errors were encountered: