Open lgo opened 3 years ago
Column name in ingestionCOnfigs should match the column name in the schema. Schema will contain the final names of the columns, post the transformation. In your example above, the schema should have
{
"name": "id_transform",
"dataType": "STRING"
}
in the dimensionFieldSpecs, instead of id
(also non-critical, mostly just a usability issue for being able to flexibily configure Pinot or unclear exceptions/errors)
While experimenting with some schemas, I tried setting up a star-index to use an ingest transform created column. Similarly, setting up other inverted indexes also failed, so I reckon the schemas are just not adjusted by ingestion transforms.
Here was an example set-up that produces this.
schema
table
exception with only the star-index. This particular exception is probably the same as #5899, but I suspect both star-index and inverted indexes are just unaware of the ingested column schemas.
exception with only the inverted index