tarunparackal opened a new issue #10436:
URL: https://github.com/apache/druid/issues/10436
The lookup UI has been updated from 0.18 to 0.19 version. In the older
version we could specify the json defenenition for the lookup . But in the
later version lookup UI has been updated with the UI to specify each paramter .
Issue 1 :
With the new UI for type uri, it is not possible to specify the complete
uri . only uri prefix and file regex can be configured.
Issue 2:
if the lookup is created in older version(0.18) and upgraded to new
version , it is not possible to edit the uri. At the same time if we need to be
change the uri to uriprefix then UI send the old uri and also the
uriprefix .
A sample request object is given as below.
{
"version": "2020-09-25T11:43:27.056Z",
"lookupExtractorFactory": {
"type": "cachedNamespace",
"extractionNamespace": {
"type": "uri",
"namespaceParseSpec": {
"format": "csv",
"columns": ["key", "value"],
"keyColumn": "key",
"valueColumn": "value"
},
"uri": "file:/Users/apple/lookup.csv",
"uriPrefix": "file:/Users/apple/",
"fileRegex": "lookup.csv"
}
}
}
### Affected Version
0.19
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]