Hi all, I am trying to configure star-tree index w...
# troubleshooting
y
Hi all, I am trying to configure star-tree index with custom
log2m
value. Simply I am aiming to find out impact of different values on table size, but I am not able to find proper configuration json. This is what I am passing
Copy code
"starTreeIndexConfigs": [
{
  "dimensionsSplitOrder": [
    "eventDate"
  ],
  "aggregationConfigs": [
    {
      "columnName": "event_id",
      "aggregationFunction": "DISTINCT_COUNT_HLL",
      "functionParameters": {"log2m": 8}
    }
  ]
}
In response to table creation API call, this is returned from controller:
Copy code
"unrecognizedProperties": {
    "/tableIndexConfig/starTreeIndexConfigs/0/aggregationConfigs/0/functionParameters/log2m": 8
}
table is created, but
log2m
parameter is not passed. What should be the configuration json to be able to experiment with different log2m values ?
y
Hi Yusuf. What version of Pinot are you running? This feature was only added relatively recently (https://github.com/apache/pinot/commit/fc6e690352abe481e9dc4f6217bf2d63b3b5894a) and hasn't yet made it into an official release version. It'll be a part of the upcoming 1.3.0 release though (you can track the progress in #release-1-dot-3). Alternatively, you could either build a version off the latest code, or use a nightly build.
y
currently using
1.2.0
, thanks for the reply. I will check it out. I see cluster config option to update default value
default.hyperloglog.log2m
. Is this config taken into account in
1.2.0
?
y
It will be taken into account for queries, not for the star-tree index. This is a bug in previous versions of Pinot. You can read more details in this PR's description - https://github.com/apache/pinot/pull/13835.