Channels
test-channel-bot
pw-pinot
debug_upsert
feat-presto-connector
pinot-helix
troubleshooting
pinot-sketches
resources
roadmap
discuss-validation
minion-improvements
community
config-tuner
test-channel
fix-numerical-predicate
kinesis_help
pinot-perf-tuning
feat-partial-upsert
pinot_website_improvement_suggestions
segment-write-api
releases
devrel
pinot-trino
pinot-k8s-operator
release-certifier
udf-type-matching
transform-functions
release060
latency-during-segment-commit
feat-text-search
pinot-realtime-table-rebalance
inconsistent-segment
feat-rt-seg-complete
pinot-power-bi
flink-pinot-connector
pinotadls
twitter
minion-star-tree
pinot-rack-awareness
jobs
fix_llc_segment_upload
metrics-plugin-impl
linen_dev
complex-type-support
pinot-s3
feat-geo-spatial-index
feat-compound-types
v2_engine_beta_feedback
inconsistent-perf
metadata-push-api
feat-pravega-connector
enable-generic-offsets
announcements
feat-upsert
multiple_streams
feat-better-schema-evolution
fraud
onboarding
docs
aggregators
query-latency
s3-multiple-buckets
presto-pinot-connector
multi-region-setup
apa-16824
events
segment-cold-storage
odsc-europe-2022-workshop
bangalore-meetups
new-office-space
lp-pinot-poc
time-based-segment-pruner
group-by-refactor
pql-sql-regression
random
custom-aggregators
order-by
pinot-website
qps-metric
product-launch
dhill-date-seg
thirdeye-pinot
introductions
pinot-dev
getting-started
pinot-docsrus
daily-digest
general
Powered by
#troubleshooting
Title
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
we are going to consolidate the 2 pages, hopefully soon
k
Ken Krugler
12/10/2020, 7:38 PM
Thanks
Post