samarth-gupta-traceable opened a new issue #5929:
URL: https://github.com/apache/incubator-pinot/issues/5929


   When I run `pinot-admin.sh ConvertPinotSegment` with JSON option, the in 
resulting JSON file the columns whose data type is BYTES show up as string. 
   Now when I try to run ` pinot-admin.sh CreateSegment` on same JSON file it 
gives below error due to datatype mismatch
   
   ```
   2020/08/26 18:11:02.352 ERROR [PinotAdministrator] [main] Exception caught: 
   java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: 
Value: vNGrzPyoR5w= is not Hex encoded
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
        at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
        at 
org.apache.pinot.tools.admin.command.CreateSegmentCommand.execute(CreateSegmentCommand.java:264)
 ~[classes/:?]
        at 
org.apache.pinot.tools.admin.PinotAdministrator.execute(PinotAdministrator.java:150)
 [classes/:?]
        at 
org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:162)
 [classes/:?]
   Caused by: java.lang.IllegalArgumentException: Value: vNGrzPyoR5w= is not 
Hex encoded
        at org.apache.pinot.spi.utils.BytesUtils.toBytes(BytesUtils.java:39) 
~[classes/:?]
        at 
org.apache.pinot.common.utils.PinotDataType$9.toBytes(PinotDataType.java:344) 
~[classes/:?]
        at 
org.apache.pinot.common.utils.PinotDataType$10.convert(PinotDataType.java:386) 
~[classes/:?]
   ```


----------------------------------------------------------------
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.

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