Devashish Gupta
02/10/2021, 11:06 AMapiVersion: batch/v1
kind: Job
metadata:
name: request-realtime-table-creation
namespace: data2
spec:
template:
spec:
containers:
- name: request-realtime-table-json
image: apachepinot/pinot:latest
args: [ "AddTable", "-schemaFile", "/var/pinot/examples/request_schema.json", "-tableConfigFile", "/var/pinot/examples/request_realtime_table_config.json", "-controllerHost", "pinot2-controller", "-controllerPort", "9000", "-exec" ]
env:
- name: JAVA_OPTS
value: "-Xms4G -Xmx4G -Dpinot.admin.system.exit=true"
volumeMounts:
- name: examples
mountPath: /var/pinot/examples
restartPolicy: OnFailure
volumes:
- name: examples
configMap:
name: pinot-table
backoffLimit: 100
Xiang Fu
Neha Pawar
Devashish Gupta
02/10/2021, 7:11 PM"dateTimeFieldSpecs": [
{
"name": "TimeStamp",
"dataType": "LONG",
"format": "1:SECONDS:EPOCH",
"granularity": "1:HOURS"
}
]
According to the documentation the granularity is used for bucketing. The table contains epoch values, so where is the bucketing used?Neha Pawar
Devashish Gupta
02/11/2021, 2:38 PM