queryparser
queryparser copied to clipboard
Is there a Python wrapper I can use?
Hey,First of all, it's an amazing effort towards building a parser. I am trying to use this tool to parse hive and vertica queries. I am able to get the example and demo working but I am not sure how to use this library from within Python. Do you have any wrapper I can use or maybe give out steps to follow?
Hey there!
Thanks for giving this a whirl! Right now, we don't have a python wrapper available, but it's certainly a tooling we want.
In the meantime, have you looked around at other ways for running haskell on python? I think there are a few methods out there, like https://github.com/nh2/haskell-from-python, and if you get it working I'd be more than happy to document it.
Cheers, Heli
I have tried that particular option and also few other options. But it seems like, specially with the option you have suggested, there is a lot of problem with package dependencies. I changed all the cabal files according to my package versions but still an error.
Did anyone find a way to use queryparser from python?
If memory serves, in the early days of trying to figure out how we were going to get it running on Uber infrastructure I got it working with HaPy (handing JSON to the python). That's not ultimately the path we took, so I don't know if it holds up when used in anger.
Any updates or workarounds on this?