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

Blog post with examples #33

Closed
kpconnell opened this issue Apr 15, 2021 · 4 comments
Closed

Blog post with examples #33

kpconnell opened this issue Apr 15, 2021 · 4 comments

Comments

@kpconnell
Copy link

Whoever wrote the article here does not seem to understand databases much. https://opensource.googleblog.com/2021/04/logica-organizing-your-data-queries.html

SELECT 2 AS x

UNION ALL

SELECT 3 AS x

UNION ALL

SELECT 5 AS x;

Would never happen. You'd have a table of ints.

@EvgSkv EvgSkv changed the title Blog post with examples is completely asinine Blog post with examples Apr 16, 2021
@EvgSkv
Copy link
Owner

EvgSkv commented Apr 16, 2021

I've edited the title.
Criticism is welcome. However please follow community guidelines and be respectful of others.

@EvgSkv
Copy link
Owner

EvgSkv commented Apr 16, 2021

In my opinion using self contained statements in tutorials is a good practice, as it allows reader to execute something and see results immediately.

Here this approach is used in BigQuery SQL tutorial:
https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax

@EvgSkv EvgSkv closed this as completed Apr 16, 2021
@kpconnell
Copy link
Author

EvgSkv You and your team have provided examples that would never happen in the real world and it is very very clear from the project that there is a misunderstanding of the dichotomy between a set based implementation (aka RDBMS) and programming languages. As a gesture of respect, I'm happy to turn any and all of your examples in that post into a more performant and concise implementation using any existing modern ORM and RDBMS implementation

@EvgSkv
Copy link
Owner

EvgSkv commented Apr 16, 2021

kpconnell, I am interested in your perspective on how to make the examples better. Your insights will surely be useful for delivering our message in the future. You are welcome to post your examples here, or even better in a new Discussion thread.
Thank you for reaching out.

EvgSkv pushed a commit that referenced this issue Nov 28, 2023
described SQL queries and isolated parameters
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

2 participants