vrajat commented on PR #12151:
URL: https://github.com/apache/pinot/pull/12151#issuecomment-1862440379
Ran a manual test and was able to repro the error as well get the modified
error message.
I used this diff and ran `JsonIndexQuickStart`:
```
diff --git
a/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_schema.json
b/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_schema.json
index aafd259146..30ee206eea 100644
---
a/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_schema.json
+++
b/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_schema.json
@@ -10,7 +10,7 @@
},
{
"name": "actor",
- "dataType": "JSON"
+ "dataType": "STRING"
},
{
"name": "repo",
diff --git
a/pinot-tools/src/main/resources/examples/batch/githubEvents/rawdata/githubEvents_data.json
b/pinot-tools/src/main/resources/examples/batch/githubEvents/rawdata/githubEvents_data.json
index ece16582b3..2baf2a760f 100644
---
a/pinot-tools/src/main/resources/examples/batch/githubEvents/rawdata/githubEvents_data.json
+++
b/pinot-tools/src/main/resources/examples/batch/githubEvents/rawdata/githubEvents_data.json
@@ -1,4 +1,4 @@
< Introduced an error in the actor field>
```
Error message is:
```
Caused by:
org.apache.pinot.segment.local.segment.creator.impl.ColumnJsonParserException:
Column: actor
Unexpected character ('1' (code 49)): was expecting a colon to separate
field name and value
at [Source:
(String)"{"id"18542751,"login":"LimeVista","display_login":"LimeVista","gravatar_id":"","url":"https://api.github.com/users/LimeVista","avatar_url":"https://avatars.githubusercontent.com/u/18542751?"}";
line: 1, column: 192]
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]