Hi Team, When defining schema of a Realtime table...
# troubleshooting
a
Hi Team, When defining schema of a Realtime table
Copy code
{
      "name": "request_metadata.request.application_id",
      "dataType": "STRING",
      "notNull": false
    },
can we have above column as a case-insensitive during where clause filter? In sql , like we can set collation of a column with
SQL_Latin1_General_CP1_CI_AS
for case insensitive I tried doing a transformation on the same column
Copy code
{
  "columnName": "request_metadata.request.application_id",
  "transformFunction": "LOWER(request_metadata.request.application_id)"
}
But it gives error that i have to have a separate column. Which would increase space by a lot as we might have a billion rows at max capacity. Can somebody please help if it's possible to work with single column and make it case-insensitive?
k
You can always query it by applying to lowercase in the query… the drawback is indexes won’t be applied. How much extra space are we looking at.. data in Pinot compresses well..
a
Hi @Kishore G we will check on exact extra space. I was just worried in case a new column in the table with billion rows, whether we would see a lot of space being taken up.