Open ManonMarchand opened 7 months ago
Hi Greg,
The following query
SELECT TOP 1 qual AS "flux.qual" FROM flux
Returns a column qual where flux. is removed. This is an unexpected behaviour as this alias is not incorrect.
qual
flux.
Looks like this comes from the rule for simplificationNeeded here:
simplificationNeeded
https://github.com/gmantele/vollt/blob/1481ccb5e7a573725d1ed38b620a466221b171ce/src/tap/metadata/TAPColumn.java#L194
Where the regexp could be something along "[^"]+" ?
"[^"]+"
This happens only when the alias prefix (flux) is a table name.
flux
Yes! And it it case sensitive: if I do
SELECT TOP 1 qual AS "FluX.qual" FROM flux
Then there is no issue (but my alias is ugly)
Hi Greg,
The following query
Returns a column
qual
whereflux.
is removed. This is an unexpected behaviour as this alias is not incorrect.Looks like this comes from the rule for
simplificationNeeded
here:https://github.com/gmantele/vollt/blob/1481ccb5e7a573725d1ed38b620a466221b171ce/src/tap/metadata/TAPColumn.java#L194
Where the regexp could be something along
"[^"]+"
?