Skip to content

Processing of tables with WHEN. #11

@RyanFleck

Description

@RyanFleck

When two tables have an identical column, i.e. ID, and both tables are combined, the ID column from the second table is discarded without sorting.

I am certain that some gov't tables will have at least one shared column, and that data cannot be discarded.

ASSEMBLE overtime_table_A
  COLUMNS FROM table:hours
  COLUMNS FROM table:names;

Example rule here, see Section 2.

Current output is:

table:full_table
     0 | shared:              2 | english:            one | roman:             II |
     1 | shared:              3 | english:            one | roman:            III |
     2 | shared:              1 | english:            one | roman:              I |
     3 | shared:              2 | english:            two | roman:             II |
     4 | shared:              3 | english:            two | roman:            III |
     5 | shared:              1 | english:            two | roman:              I |
     6 | shared:              2 | english:          three | roman:             II |
     7 | shared:              3 | english:          three | roman:            III |
     8 | shared:              1 | english:          three | roman:              I |

Expected output is:

table:full_table
     0 | shared:              1 | english:            one | roman:              I |
     1 | shared:              2 | english:            two | roman:             II |
     2 | shared:              3 | english:          three | roman:            III |

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions