Join Slack
Communities
Powered by
Hi, is there some default limit for string dimensi...
# general
c
Carl
06/22/2021, 4:21 PM
Hi, is there some default limit for string dimensions field in Pinot, we are seeing some partial string returned from field queries.
m
Mayank
06/22/2021, 4:30 PM
Yes I think it defaults to 512 bytes. But you can overwrite it in the schema.
Mayank
06/22/2021, 4:30 PM
Will update the docs
Mayank
06/22/2021, 4:31 PM
Something like:
Copy code
{ "dataType": "STRING", "maxLength": 1000, "name": "textDim1" },
c
Carl
06/22/2021, 4:33 PM
Got it, thank you.
Carl
06/22/2021, 4:34 PM
Can we update this maxlength on the live data schema? Or we have to recreate the table?
m
Mayank
06/22/2021, 4:35 PM
If you want to fix data that is pushed, you will have to backfill.
Mayank
06/22/2021, 4:58 PM
https://docs.pinot.apache.org/basics/getting-started/frequent-questions/ingestion-faq#is-there-a-limit-on-the-maxim[…]th-of-a-string-column-in-pinot
Open in Slack
Previous
Next