Skip to content

Added CopyProposer - #139

Closed
tim-band wants to merge 13 commits into
yhong123/112-column_evaluatorsfrom
copy_proposer
Closed

tim-band wants to merge 13 commits into
yhong123/112-column_evaluatorsfrom
copy_proposer

Conversation

@tim-band

Copy link
Copy Markdown
Collaborator

Fixes #130
Also adds a copy proposer that allows the copying of a column that has a "source" role. This can be used for all the OMOP person_id columns that should all copy from each other.

Tim Band and others added 13 commits September 23, 2026 14:43
Also:
- fixed role change text
- fixed remove all roles
- allow intervals and copying from same column in aliased table
You can't copy or anchor from nullable (or via nullable) to non-nullable.
You can't copy from an FK to an FK that points to a different table.
Bugs fixed.
A subdirectory of parquet files (e.g. Hive-partitioned yr=2023/p00001.parquet)
is now one table named after the directory, instead of one table per part
file. All files in a directory must share columns, types and partition keys,
otherwise make-tables exits with an error recommending the data be reorganised.
Partition keys become TEXT columns. DuckDB sees each dataset through a
temporary view so source databases are not modified.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Differing column names or partition keys remain a hard error. Differing
column types are now a single warning per column, using the first file's
type, and the comparison ignores case so int32 equals Int32. Pandas nullable
types such as Int32 now map to the SQL type of their numpy dtype.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
parquet_dir is read back from orm.yaml as text, so create_db_engine and
find_parquet_tables now declare Path | str. Drops the mypy-style type: ignore
in the test, which ty does not honour.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Read partitioned parquet directories as single tables
Add column-level evaluation layer and rank proposals in 'propose' command
@tim-band

Copy link
Copy Markdown
Collaborator Author

This is set to merge into the wrong branch

@tim-band tim-band closed this Oct 28, 2026
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

Successfully merging this pull request may close these issues.

3 participants