Description
Trivial programs project precisely their input fields, without dropping or re-ordering them. The simplest example is:
SELECT * FROM PCOLLECTION
Given input PCollection with a schema `c_int64: BIGINT` following query should result in PCollection with a schema `abc: BIGINT`, however, due to a bug in query optimization, it results in `c_int64: BIGINT`
SELECT c_int64 as abc FROM PCOLLECTION
Attachments
Issue Links
- relates to
-
CALCITE-1584 ProjectRemoveRule loses field names
- Open
-
BEAM-4522 Re-enable CalcRemoveRule
- Resolved
- links to