Skip to content

Write back have issue with ordering columns in query with fact table and write back table #263

@dbulahov

Description

@dbulahov

Current Behavior

select sum("FACT"."VAL") as "m0" from (SELECT * FROM (VALUES (42, 21, 'Level11'), (62, 31, 'Level22'), (20, 10, 'Level33'), (40, 20, 'Level44'), (60, 30, 'Level55')) AS "t" ("VAL", "VAL1", "L2") union all select L2, VAL, VAL1 from FACTWB) as "FACT"

Expected Behavior

select sum("FACT"."VAL") as "m0" from (SELECT * FROM (VALUES (42, 21, 'Level11'), (62, 31, 'Level22'), (20, 10, 'Level33'), (40, 20, 'Level44'), (60, 30, 'Level55')) AS "t" ("VAL", "VAL1", "L2") union all select VAL, VAL1, L2 from FACTWB) as "FACT"

Steps To Reproduce

No response

Version

0.0.1

Are you interested in contributing a solution yourself?

None

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions