aesteve opened a new issue #7337:
URL: https://github.com/apache/pinot/issues/7337


   The documentation 
[here](https://docs.pinot.apache.org/basics/data-import/complex-type#infer-the-pinot-schema-from-the-avro-schema-and-json-data)
 mentions the following command:
   ``` 
   bin/pinot-admin.sh JsonToPinotSchema -timeColumnName hoursSinceEpoch 
-jsonFile //tmp/test/test.json -pinotSchemaName json-schema -outputDir 
/tmp/test -unnestFields=payload.commits
   ```  
   
   Which throws the following error: 
   ```
   Error: "-timeColumnName" is not a valid option
   ```
   
   By reading the comments on [this 
PR](https://github.com/apache/pinot/pull/6930):
   ```
   We already deprecated the TIME field, change it to -dateTimeColumns?
   ```
   So I guess this should be the way to use it: using `-dateTimeColumns`.
   
   I'll give this a try (and pass multiple columns).
   If it's indeed this, then I guess only the doc is wrong, but I couldn't find 
where to change it. Is this in another repository?
   
   Thank you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to