Join Slack
Powered by
It looks like there’s a max length for string fiel...
# troubleshooting
k
Ken Krugler
12/10/2020, 7:34 PM
It looks like there’s a max length for string fields of 512…or is data being truncated in the query response?
m
Mayank
12/10/2020, 7:35 PM
Yes, you can overwrite the length in the schema
k
Ken Krugler
12/10/2020, 7:36 PM
Thanks - I don’t see that being described at
https://docs.pinot.apache.org/basics/components/schema
or other pages. What’s the syntax?
m
Mayank
12/10/2020, 7:38 PM
Something like:
Copy code
{ "dataType": "STRING", "maxLength": <length>, "name": "stringCol" }
n
Neha Pawar
12/10/2020, 7:38 PM
there’s some description here:
https://docs.pinot.apache.org/configuration-reference/schema#advanced-fields
Neha Pawar
12/10/2020, 7:38 PM
we are going to consolidate the 2 pages, hopefully soon
k
Ken Krugler
12/10/2020, 7:38 PM
Thanks
Open in Slack
Previous
Next