Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Special character escaping #15

Closed
l15k4 opened this issue Mar 18, 2016 · 2 comments
Closed

Special character escaping #15

l15k4 opened this issue Mar 18, 2016 · 2 comments

Comments

@l15k4
Copy link

l15k4 commented Mar 18, 2016

Hey,

I have some dimensions with : character which is a special char. But I can't find a way to escape it. So I currently cannot SELECT it or GROUP BY it... But there must be a way since Pivot can handle it via plywood... Do you know how it can be done ?

@vogievetsky
Copy link
Member

Can you post the query that you are trying to do please? PlyQL (like MySQL) uses back ticks for column / variable name escapes.

plyql -h 192.168.99.100 -v -q 'SELECT `hello:world` FROM wikipedia GROUP BY 1'

Works as expected for me.

Closing this issue. Please reopen it if you find a specific query that fails to parse. (and please include the query)

@l15k4
Copy link
Author

l15k4 commented Mar 22, 2016

Yeah, that works, I didn't switch double qoutes to single qoutes, thanks !

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

No branches or pull requests

2 participants