Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformat string concatenation queries and result handling #74

Open
ross-spencer opened this issue Jan 23, 2022 · 0 comments
Open

Reformat string concatenation queries and result handling #74

ross-spencer opened this issue Jan 23, 2022 · 0 comments

Comments

@ross-spencer
Copy link
Member

Some queries optimize the need for string concatenation too early, for example:

  • "SELECT 'ns:' || NSDATA.NS_NAME || ' ' || IDDATA.ID, count(IDDATA.ID) as TOTAL\n" (ns + Namespace + Name + id + count)

This leaves very few options to manipulate this afterwards, e.g. for handling versions where version is None. It shouldn't be done at the query layer here when we still want to format the results both as data and present them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant