https://pinot.apache.org/ logo
#general
Title
# general
a

Adrian Cole

09/02/2020, 6:10 AM
Copy code
public class IndexingConfig extends BaseJsonConfig {
  private List<String> _invertedIndexColumns;
  private List<String> _rangeIndexColumns;
  private boolean _autoGeneratedInvertedIndex;
I'm looking at a file that has autoGeneratedInvertedIndex set to false, and I wonder if checking here it is valid to assume it is the default
even better if things that are false are always default as I don't see anything here set to true
if I look at TableConfigBuilder it seems anything false is default
n

Neha Pawar

09/02/2020, 4:04 PM
Yes checking in those files is valid to find out defaults
j

Joey Pereira

09/02/2020, 5:19 PM
ooc, are any plans or ideas for the most ideal way of documenting defaults? I've often found it quite burdensome to dig for the defaults (and, in some instances dig for available config values)
Of course, making sure docs don't go stale is always a challenge!
n

Neha Pawar

09/02/2020, 5:23 PM
we could add a section to this https://docs.pinot.apache.org/configuration-reference/table#sample-configurations for defaults, with an example configuration having all mandatory fields and others as defualt values explicitly shown.
a

Adrian Cole

09/03/2020, 12:38 AM
thanks for the help. For now, I understand this is a young project so maturing of config docs isn't expected.. knowing what is ok to look at for now is great. At any point in the future more explicit docs are nice, but ack there are multiple ways to do that and few that are not stack-specific address the round-trip problem with docs.