2 comments

  • tofflos6 minutes ago
    &gt; Previous blog posts have covered DuckDB’s friendly SQL, including GROUP BY ALL and column selection using SELECT * EXCLUDE (...).<p>I love the idea of friendly SQL! I often create views with the same shape and would love it if UNION and UNION ALL accepted a list. But it&#x27;s not in the standard so I&#x27;ve given up hope of it ever happening in PostgreSQL.<p><pre><code> select * from view1 union all view2, view3, view4;</code></pre>
  • zcw1001 hour ago
    I&#x27;m excited about this and have some use cases already lined up but I&#x27;m continually worried about a grammar free-for-all and collisions as each extension author tries to modify the grammar. I&#x27;m hoping they already have something in place for that and I just haven&#x27;t read about it yet. I&#x27;m concerned that you can load an extension and kind of mangle the interpretation of the syntax. Two author extensions could legitimately want conflicting parsers and there&#x27;s no easy way to unload an extension in duckdb. Something like an explicit &quot;GRAMMAR SQL&quot; or &quot;GRAMMAR GGSQL&quot;, etc would be nice.