TIL: BigQuery didn't have native json support until 2022
https://cloud.google.com/blog/products/data-analytics/bigquery-now-natively-supports-semi-structured-data
https://cloud.google.com/blog/products/data-analytics/bigquery-now-natively-supports-semi-structured-data
Google Cloud Blog
BigQuery now natively supports semi-structured data | Google Cloud Blog
With BigQuery’s native JSON support, customers can now write to BigQuery without worrying about future changes to their data.
There will be no singularity
Еще одна китайская бд. На этот раз HA distributed time series. На гошечке https://github.com/lindb/lindb
GitHub
GitHub - apache/horaedb: Apache HoraeDB (incubating) is a high-performance, distributed, cloud native time-series database.
Apache HoraeDB (incubating) is a high-performance, distributed, cloud native time-series database. - apache/horaedb
Forwarded from Generative Anton
По прогнозу погоды: дождь из языковых моделек, генерирующих код. Внезапно и неожиданно AWS зарелизил Code Whisperer. Это тоже самое, что и Copilot, только (вроде как) умеет в styleguide’ы проекта смотреть и больше берет из описания и контекста вокруг.
Выглядит неплохо, надо пощупать получше (Copilot смотрел еще в бете, не очень понравилось). Больше картинок с примерами есть в статье Techcrunch’a.
Выглядит неплохо, надо пощупать получше (Copilot смотрел еще в бете, не очень понравилось). Больше картинок с примерами есть в статье Techcrunch’a.
Forwarded from DOFH - DevOps from hell
Результаты опроса аудитории StackOverflow по используемым СУБД. Удивляет популярность узкоприменимой SQLite.
Машка с муськой вместе дают огромный перевес. Постгри, конечно, уверенно тащит, хотя раньше никто не верил.
Машка с муськой вместе дают огромный перевес. Постгри, конечно, уверенно тащит, хотя раньше никто не верил.
Time to update my open source SQL tools collection!
Yet another one SQL killer (modern language for transforming data — a simple, powerful, pipelined SQL replacement). Written in RUST :)
https://github.com/prql/prql
Yet another one SQL killer (modern language for transforming data — a simple, powerful, pipelined SQL replacement). Written in RUST :)
https://github.com/prql/prql
To distract from the problem, I randomly deleted 5 rows from the table.... :)))
https://www.cybertec-postgresql.com/en/transaction-anomalies-with-select-for-update/
https://www.cybertec-postgresql.com/en/transaction-anomalies-with-select-for-update/
CYBERTEC PostgreSQL | Services & Support
Transaction anomalies with SELECT FOR UPDATE
This article shows how surprising transaction anomalies can happen with SELECT FOR UPDATE and what you can to to avoid them.
Postgres 15 improves UNIQUE and NULL
https://blog.rustprooflabs.com/2022/07/postgres-15-unique-improvement-with-null
https://blog.rustprooflabs.com/2022/07/postgres-15-unique-improvement-with-null
A few words about this.
At this moment, you must specify an alias for all sub-selects in FROM clause.
It's valid for PostgreSQL and MySQL.
In Snowflake you can skip it. But under the hood Snowflake name it automatically as "values". So, you can't use more than one unnamed sub-select in FROM clause, because "values" will conflict. And yes, you can address it as "values".*
Btw, there are some more "automatic aliases" in Snowflake:
- "VALUES" (capital letters, not the same) for values()
- "STAGE" for stages
- "LIST_DIR_TABLE" for directory tables
Absolutely insane behavior with sub-selects (named or unnamed) in the best and most popular DB in the world (he-he) - SQLite!
select * from (select 1) a, (select 1) bTry to guess without tests (post your version in the comments)
Telegram
Сингулярности не будет (18+)
next year in postgres:
https://twitter.com/nori_shinoda/status/1549683794780622848
https://twitter.com/nori_shinoda/status/1549683794780622848
All issues of SQL-WTF SQL-TIL magazine
(so you can share it with friends and colleagues):
postgresql edition:
1) https://news.1rj.ru/str/nosingularity/535 (ru)
2) https://news.1rj.ru/str/nosingularity/541 (ru)
3) https://news.1rj.ru/str/nosingularity/548 (ru)
4) https://news.1rj.ru/str/nosingularity/572 (ru)
snowflake edition:
5) https://news.1rj.ru/str/nosingularity/582 (ru)
6) https://news.1rj.ru/str/nosingularity/602 (ru)
7) https://news.1rj.ru/str/nosingularity/753 (ru) + https://news.1rj.ru/str/nosingularity/754 (ru)
8) https://news.1rj.ru/str/nosingularity/762 (ru)
9) https://news.1rj.ru/str/nosingularity/826 (ru)
mix:
10) https://news.1rj.ru/str/nosingularity/755 (ru)
11) https://news.1rj.ru/str/nosingularity/803 (ru) + https://news.1rj.ru/str/nosingularity/804 (ru)
12) https://news.1rj.ru/str/nosingularity/808 (ru) + https://news.1rj.ru/str/nosingularity/809 (ru)
13) https://news.1rj.ru/str/nosingularity/857 (ru)
14) https://news.1rj.ru/str/nosingularity/1024 (en)
(so you can share it with friends and colleagues):
postgresql edition:
1) https://news.1rj.ru/str/nosingularity/535 (ru)
2) https://news.1rj.ru/str/nosingularity/541 (ru)
3) https://news.1rj.ru/str/nosingularity/548 (ru)
4) https://news.1rj.ru/str/nosingularity/572 (ru)
snowflake edition:
5) https://news.1rj.ru/str/nosingularity/582 (ru)
6) https://news.1rj.ru/str/nosingularity/602 (ru)
7) https://news.1rj.ru/str/nosingularity/753 (ru) + https://news.1rj.ru/str/nosingularity/754 (ru)
8) https://news.1rj.ru/str/nosingularity/762 (ru)
9) https://news.1rj.ru/str/nosingularity/826 (ru)
mix:
10) https://news.1rj.ru/str/nosingularity/755 (ru)
11) https://news.1rj.ru/str/nosingularity/803 (ru) + https://news.1rj.ru/str/nosingularity/804 (ru)
12) https://news.1rj.ru/str/nosingularity/808 (ru) + https://news.1rj.ru/str/nosingularity/809 (ru)
13) https://news.1rj.ru/str/nosingularity/857 (ru)
14) https://news.1rj.ru/str/nosingularity/1024 (en)