Slackbot
12/13/2022, 6:18 PMTish Johnson
12/13/2022, 8:07 PMVadim
12/13/2022, 8:56 PMYogesh Singh
12/14/2022, 6:16 AMYogesh Singh
12/14/2022, 6:19 AMpagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z': 2708, 'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z_1': 2290}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>
Response SELECT Query: Datasource Name:test-ds , Query API Resonse Code:200
pagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z': 5451, 'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z_1': 4547}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>
Response SELECT Query: Datasource Name:test-ds , Query API Resonse Code:200
pagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z': 9388, 'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z_1': 5610}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>
Response SELECT Query: Datasource Name:test-ds , Query API Resonse Code:200
pagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z': 10421, 'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z_1': 9577}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>
Response SELECT Query: Datasource Name:test-ds , Query API Resonse Code:200
pagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z': 15421}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>
Response SELECT Query: Datasource Name:test-ds , Query API Resonse Code:200
pagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z_1': 4999}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>
Response SELECT Query: Datasource Name:test-ds , Query API Resonse Code:200
pagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z': 4999}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>
Response SELECT Query: Datasource Name:test-ds , Query API Resonse Code:200
pagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z_1': 4547, 'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z': 5451}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>
Response SELECT Query: Datasource Name:test-ds , Query API Resonse Code:200
pagingIdentifiers for next Query: {'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z': 9388, 'test-ds_2021-10-13T00:00:00.000Z_2021-10-13T08:01:00.000Z_2022-02-07T05:09:25.413Z_1': 5610}
Requesting SELECT query: <http://test:8080/druid/v2/test-ds>Vadim
12/14/2022, 6:24 AMselect query in a while - it was replaced with scan at some pointVadim
12/14/2022, 6:24 AMfromNext and just incrementing the identifiers by 1 yourself?Vadim
12/14/2022, 6:25 AMYogesh Singh
12/14/2022, 6:28 AMVadim
12/14/2022, 6:29 AMselect (it long doesn't anymore) it used to do the increment client side https://github.com/implydata/plywood/blob/d2ff8dff936baaadbc93396e8c65b39486fe837e/src/external/druidExternal.ts#L447Vadim
12/14/2022, 6:30 AMYogesh Singh
12/14/2022, 6:31 AMYogesh Singh
12/14/2022, 6:35 AMYogesh Singh
01/11/2023, 5:03 AMglobal paging
paging_check={}
for key, value in paging.items():
if not paging_check:
paging_check.update(paging)
if key not in paging_check:
paging_check[key] = value
if value > paging_check[key] and paging_check[key] != -1:
paging_check[key] = value
if value < paging_check[key]:
paging_check[key] = -1
<http://logger.info|logger.info>("Custom hashmap {}".format(paging_check))
for key1, value1 in paging_check.items():
if value1 == -1:
for key1 in list(paging.keys()):
del paging[key1]
else:
paging[key1] = value1
<http://logger.info|logger.info>(
"pagingIdentifiers for next Query through backfill code: {0}".format(paging))
if all(v == -1 for v in paging_check.values()):
events = []