Hello, I want to run realtimeprovisioninghelper, w...
# general
k
Hello, I want to run realtimeprovisioninghelper, where can I find a sample completed segment?
m
It's not too tricky to create one. We have a recipe here showing how to create one from JSON files - https://dev.startree.ai/docs/pinot/recipes/ingest-json-files
👀 1
k
Thank you, I will take a look
s
The helper also auto-generates data given the schema. @User
@User just run the RealtimeProvisioningHelper with
--help
and you will get the options to auto-generate data
k
Awesome, thanks @User
s
As Subbu mentioned, if you don't have a segment in hand, you can provide schema which is decorated with data characteristics. Then the tool generates a segment based on the provided characteristics behind the scene and proceeds with the realtime analysis. To use data generation mode, instead of
-sampleCompletedSegmentDir
parameter, you need to provide
-schemaWithMetadataFile
parameter.
s
I have updated the document to reflect this