yupeng9 commented on a change in pull request #6914: URL: https://github.com/apache/incubator-pinot/pull/6914#discussion_r632643415
########## File path: pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_offline_complexTypeHandling_table_config.json ########## @@ -0,0 +1,33 @@ +{ + "tableName": "githubEvents", + "tableType": "OFFLINE", + "tenants": { + }, + "segmentsConfig": { + "segmentPushType": "REFRESH", + "replication": "1", + "timeColumnName": "created_at_timestamp" + }, + "tableIndexConfig": { + "loadMode": "MMAP" + }, + "ingestionConfig": { + "transformConfigs": [ + { + "columnName": "created_at_timestamp", + "transformFunction": "fromDateTime(created_at, 'yyyy-MM-dd''T''HH:mm:ss''Z''')" + }, + { + "columnName": "payload_json", + "transformFunction": "jsonFormat(\"payload\")" + } + ], + "complexTypeConfig": { + "unnestFields": ["payload.commits"] + } Review comment: Discussed offline, this would be easier to add after the next PR on schema inference. so we dont have to list out all the columns manually -- 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