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

Preliminary compound datatype support #1991

Merged
merged 107 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
0e3db02
Allow non leaf atomic fields as results
mtoy-googly-moogly Oct 31, 2024
1903b0b
array literal support (for duckdb)
mtoy-googly-moogly Oct 31, 2024
1d2dcc8
fix flaws revealed by tests
mtoy-googly-moogly Oct 31, 2024
c717f52
fix join dependecy
mtoy-googly-moogly Nov 6, 2024
fcb9cb3
more fix test
mtoy-googly-moogly Nov 6, 2024
2f23f1d
fix join problem with arrays
mtoy-googly-moogly Nov 6, 2024
e3793a2
records can be selected
mtoy-googly-moogly Nov 7, 2024
ae7ed58
pass array literal
mtoy-googly-moogly Nov 7, 2024
1c8e319
fix as
mtoy-googly-moogly Nov 7, 2024
7613a24
record tests
mtoy-googly-moogly Nov 7, 2024
d8411a4
t.todo
mtoy-googly-moogly Nov 7, 2024
4f01be9
record literals
mtoy-googly-moogly Nov 7, 2024
f56d148
all hail
mtoy-googly-moogly Nov 7, 2024
3e0e552
edits
mtoy-googly-moogly Nov 7, 2024
5ce9ba6
edits
mtoy-googly-moogly Nov 7, 2024
5d83457
fix arrays in extend blocks
mtoy-googly-moogly Nov 8, 2024
4e5d66a
don't make too many new structspacefields
mtoy-googly-moogly Nov 8, 2024
97e5e83
fix reference bug
mtoy-googly-moogly Nov 8, 2024
fd68a5f
fix comments
mtoy-googly-moogly Nov 8, 2024
48e069e
more comments for the review board
mtoy-googly-moogly Nov 8, 2024
3352a67
make tests dialect agnostic
mtoy-googly-moogly Nov 8, 2024
1fa97b6
fix de-reference of computerd record
mtoy-googly-moogly Nov 11, 2024
3accff9
fix the LICENSE
mtoy-googly-moogly Nov 11, 2024
fbb8f28
add todo for expr . expr
mtoy-googly-moogly Nov 11, 2024
67120da
fix time date extract
mtoy-googly-moogly Nov 11, 2024
08b401d
begin repeated record tests
mtoy-googly-moogly Nov 12, 2024
ba5146c
finish repeated records
mtoy-googly-moogly Nov 12, 2024
cdbc0a1
try to implement some dialect functions
mtoy-googly-moogly Nov 12, 2024
e3f27d4
weird try at mysql
mtoy-googly-moogly Nov 12, 2024
c3cb5ee
vary array len function
mtoy-googly-moogly Nov 12, 2024
23c6817
get correct len for motherduck
mtoy-googly-moogly Nov 12, 2024
505f9da
Merge branch 'main' into array-in-query
mtoy-googly-moogly Nov 12, 2024
04c0e5c
ync
mtoy-googly-moogly Nov 13, 2024
1eb844b
replace record-expressions references with the expression
mtoy-googly-moogly Nov 13, 2024
9a4a70b
also find records in aggregate paths
mtoy-googly-moogly Nov 13, 2024
ec4f790
don't look for records in the wrong places
mtoy-googly-moogly Nov 13, 2024
4b3acbd
fix array of arrays
mtoy-googly-moogly Nov 14, 2024
43a30c1
array of records containing an array
mtoy-googly-moogly Nov 14, 2024
f603354
skip nested arrays in bigquery
mtoy-googly-moogly Nov 14, 2024
c4a068b
trino passing compound tests
mtoy-googly-moogly Nov 14, 2024
b7d3730
correctly parse explains from presto as schema
mtoy-googly-moogly Nov 18, 2024
0f1d1a4
fix schema parse error message
mtoy-googly-moogly Nov 18, 2024
5eec59e
throw better errors
mtoy-googly-moogly Nov 18, 2024
12063b5
Merge branch 'main' into array-in-query
mtoy-googly-moogly Nov 18, 2024
2e14ee3
get mysql docker commands to work
mtoy-googly-moogly Nov 18, 2024
15672a8
fix array and records literals
mtoy-googly-moogly Nov 18, 2024
1f7c807
more correct snowflake sql?
mtoy-googly-moogly Nov 18, 2024
ffa908e
Merge branch 'main' into array-in-query
mtoy-googly-moogly Nov 18, 2024
72b8764
more merge recovery
mtoy-googly-moogly Nov 18, 2024
9a0ae97
starting to make snowflake work
mtoy-googly-moogly Nov 19, 2024
0c03f46
a few less snowlake errors
mtoy-googly-moogly Nov 20, 2024
a19dfa1
inch a little with snowflake
mtoy-googly-moogly Nov 23, 2024
c82182a
Merge branch 'main' into array-in-query
mtoy-googly-moogly Nov 24, 2024
51b8fe8
snowflake arrays are now fully green
mtoy-googly-moogly Nov 24, 2024
b98b2c6
Begin snowflake records
mtoy-googly-moogly Nov 24, 2024
45a27b9
re-fix arrays
mtoy-googly-moogly Nov 25, 2024
3a5d09f
more tweaks but still wrong
mtoy-googly-moogly Nov 25, 2024
3ae4a26
fix test
mtoy-googly-moogly Nov 25, 2024
7e70530
move sqlFieldRef to QueryStruct
mtoy-googly-moogly Nov 26, 2024
903b940
snowflake inline records pass all tests
mtoy-googly-moogly Nov 26, 2024
632f212
snowflake repeated records
mtoy-googly-moogly Nov 27, 2024
0934653
fix composit source tests
mtoy-googly-moogly Nov 27, 2024
c481583
fix tests for bigquery
mtoy-googly-moogly Nov 27, 2024
bab890a
fix composite test for duckdb_wasm
mtoy-googly-moogly Nov 27, 2024
dc88851
fix snowflake row_index access
mtoy-googly-moogly Nov 27, 2024
ee4bb9e
remove some todos
mtoy-googly-moogly Nov 27, 2024
75c798f
Merge branch 'main' into array-in-query
mtoy-googly-moogly Nov 27, 2024
05491a4
more cleanup
mtoy-googly-moogly Nov 27, 2024
93b8ccf
mysql record deref
mtoy-googly-moogly Nov 28, 2024
93262f7
remove spaces
mtoy-googly-moogly Nov 28, 2024
1ed17c1
array unnesting
lloydtabb Nov 28, 2024
47c427f
mysql records work better
mtoy-googly-moogly Nov 29, 2024
bfda7da
postmess
mtoy-googly-moogly Nov 29, 2024
9536a22
skip schema read checks on mysql
mtoy-googly-moogly Nov 29, 2024
0b0b392
unnesting json object looks like a table
lloydtabb Nov 29, 2024
dd87d84
Merge branch 'array-in-query' of github.com:malloydata/malloy into ar…
lloydtabb Nov 29, 2024
220e714
pg ugh
mtoy-googly-moogly Nov 29, 2024
6a074ab
access scalar string in array
mtoy-googly-moogly Nov 29, 2024
67d0790
tweak test
mtoy-googly-moogly Nov 29, 2024
f70c98f
cleanup
mtoy-googly-moogly Nov 29, 2024
5fd288c
pg?
mtoy-googly-moogly Nov 29, 2024
26d1b29
omg mysql is green
mtoy-googly-moogly Nov 29, 2024
27feb85
pg arrays almost
mtoy-googly-moogly Nov 29, 2024
d4b29f9
pg records sort of
mtoy-googly-moogly Nov 29, 2024
741b5fd
quote keys
mtoy-googly-moogly Nov 29, 2024
99b8cdd
fix records
mtoy-googly-moogly Nov 29, 2024
2e51edd
inherit array most places
mtoy-googly-moogly Nov 29, 2024
80c7c18
except duckdb
mtoy-googly-moogly Nov 29, 2024
b479ef9
even duckdb
mtoy-googly-moogly Nov 29, 2024
b5312ae
fix maybequote
mtoy-googly-moogly Nov 29, 2024
61a7e03
test chars in records names
mtoy-googly-moogly Nov 29, 2024
cc279c8
more proper quoting
mtoy-googly-moogly Nov 29, 2024
11a25e8
more quoting
mtoy-googly-moogly Nov 29, 2024
609bde0
remove done todos
mtoy-googly-moogly Nov 29, 2024
16521b4
add tests for arrays/records in field names that need quoting
mtoy-googly-moogly Nov 29, 2024
984dc86
mark dialects with new flags
mtoy-googly-moogly Nov 29, 2024
3df649b
tresto compund objects with special names
mtoy-googly-moogly Nov 29, 2024
4d6d690
spell array with two rs
mtoy-googly-moogly Nov 29, 2024
0598133
get mysql column quoting more correct
mtoy-googly-moogly Nov 29, 2024
63c017b
resolce a todo
mtoy-googly-moogly Nov 29, 2024
c3996a6
yeah i guess bq doesn't need these tests
mtoy-googly-moogly Nov 29, 2024
63863c6
make postgres work better
lloydtabb Dec 1, 2024
a92a4ee
the rest of the postgres problems
lloydtabb Dec 2, 2024
0821d31
properly quote field access
mtoy-googly-moogly Dec 2, 2024
582d8a8
fix one test
mtoy-googly-moogly Dec 2, 2024
c667b72
add new nest reference type
mtoy-googly-moogly Dec 2, 2024
a972f53
Merge branch 'main' into array-in-query
mtoy-googly-moogly Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/malloy-db-mysql/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* LICENSE file in the root directory of this source tree.
*/

export {MySQLConnection, MySQLExecutor} from './mysql_connection';
2 changes: 1 addition & 1 deletion packages/malloy-db-mysql/src/mysql.s_p_e_c_dont_run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* LICENSE file in the root directory of this source tree.
*/

import {MySQLConnection, MySQLExecutor} from '.';
Expand Down
2 changes: 1 addition & 1 deletion packages/malloy-db-mysql/src/mysql_connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* LICENSE file in the root directory of this source tree.
*/

import {
Expand Down
Loading
Loading