Shailee Mehta
04/01/2022, 5:23 AM{
"tableName": "lineorder_star_OFFLINE",
"tableType": "OFFLINE",
"segmentsConfig": {
"timeColumnName": "LO_ORDERDATE", //date field with day-granularity
"timeType": "DAYS",
"replication": "1",
"schemaName": "lineorder"
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant"
},
"metadata": {
"customConfigs": {}
},
"tableIndexConfig": {
"starTreeIndexConfigs": [
{
"dimensionsSplitOrder": [
"LO_ORDERDATE", //date
"LO_SUPPKEY", // dim field
"LO_PARTKEY", // dim field
"LO_DISCOUNT", // measure
"LO_QUANTITY", //measure
"LO_REVENUE", // dim field
"LO_ORDERPRIORITY" //measure
],
"skipStarNodeCreationForDimensions": [],
"functionColumnPairs": [
"SUM__LO_QUANTITY",
"COUNT__LO_ORDERKEY",
"SUM__LO_REVENUE"
]
}
]
}
}
Neha Pawar
Shailee Mehta
04/01/2022, 5:43 AMShailee Mehta
04/01/2022, 5:45 AMcurl -X POST "<http://localhost:9000/tableConfigs/validate>" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"tableName\": \"lineorder_star_OFFLINE\", \"tableType\": \"OFFLINE\", \"segmentsConfig\": { \"timeColumnName\": \"LO_ORDERDATE\", \"timeType\": \"DAYS\", \"replication\": \"1\", \"schemaName\": \"lineorder\" }, \"tenants\": { \"broker\": \"DefaultTenant\", \"server\": \"DefaultTenant\" }, \"metadata\": { \"customConfigs\": {} }, \"tableIndexConfig\": { \"starTreeIndexConfigs\": [ { \"dimensionsSplitOrder\": [ \"LO_ORDERDATE\", \"LO_SUPPKEY\", \"LO_PARTKEY\", \"LO_DISCOUNT\", \"LO_QUANTITY\", \"LO_REVENUE\", \"LO_ORDERPRIORITY\" ], \"skipStarNodeCreationForDimensions\": [], \"functionColumnPairs\": [ \"SUM__LO_QUANTITY\", \"COUNT__LO_ORDERKEY\", \"SUM__LO_REVENUE\" ] } ] }}"
Controller logs attached:Shailee Mehta
04/01/2022, 5:51 AM<http://localhost:9000/tableConfigs/validate>
Yet it just says invalid JSON. I am not sure as to what is field is causing itMark Needham
} exception: Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser)
at [Source: (String)"{
"tableName": "lineorder_star_OFFLINE",
"tableType": "OFFLINE",
"segmentsConfig": {
Mark Needham
Mark Needham
Diogo Baeder
04/01/2022, 10:28 AMNeha Pawar
Shailee Mehta
04/01/2022, 3:15 PMShailee Mehta
04/01/2022, 3:16 PMShailee Mehta
04/02/2022, 1:26 PM"errorMessage" : "Cannot retrieve ingestion status for Table : lineorder_star_OFFLINE since it does not use the built-in SegmentGenerationAndPushTask task"
There are no controller logs for this process. It there a way to make the ingestion more verbose?Neha Pawar
Neha Pawar
Shailee Mehta
04/02/2022, 4:00 PM