Skip to content
New issue

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

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

Already on GitHub? # to your account

Redirecting Queries from a Third-Party Service to 'fakesnow': Is it Possible? #80

Open
megetron3 opened this issue Apr 7, 2024 · 3 comments

Comments

@megetron3
Copy link

I am currently utilizing a third-party service that generates queries for Snowflake. I'm interested in redirecting these queries to the 'fakesnow' project. Specifically, I want to proxy all the Snowflake requests to 'fakesnow'.

The purpose of this operation is to enable end-to-end tests of the aforementioned service to run locally, rather than on AWS. Could you provide any guidance or steps on how to accomplish this?

@tekumara
Copy link
Owner

tekumara commented Apr 7, 2024

Fakesnow doesn’t yet provide an HTTP API which, without knowing anything about this third-party service, I would guess is what you want. It’s on the roadmap though.

@buremba
Copy link

buremba commented Aug 5, 2024

@tekumara Thanks for creating this library! I was using this library but needed something similar so I built a proxy of V1 API by reverse engineering the Snowflake clients. I use Fakesnow for transpilation as well: https://github.com/buremba/universql

@tekumara
Copy link
Owner

tekumara commented Aug 7, 2024

@buremba nice project, thanks for sharing! Glad you found fakesnow useful.

Coincidentally I've just started to build out a server with a V1 API. It's not complete yet, like yours. Looks like we are both taking a similar approach 🙂

PS: localhostcomputing.com is a nice touch!

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

No branches or pull requests

3 participants