Skip to content

Commit

Permalink
fix: remove mapValues that excluded ROWTIME and ROWKEY columns (#4066)
Browse files Browse the repository at this point in the history
* fix: remove mapValues that excluded ROWTIME and ROWKEY columns

With the changes introduced in #4052 it is no longer possible for the output schema of persistent queries to have reserved column names, i.e. `ROWKEY` or `ROWTIME` and hence the code to exclude these, both from the schema and from the output, is no longer needed and can be removed.

`ROWKEY` and `ROWTIME` are still copied into the value schema to ensure they are easily available. However, the final `ProjectNode` will never include them in the output as they are not allowed.
  • Loading branch information
big-andy-coates authored Dec 9, 2019
1 parent 89e059b commit a6982bd
Show file tree
Hide file tree
Showing 461 changed files with 984 additions and 2,575 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ Topologies:
--> Project
<-- KSTREAM-SOURCE-0000000000
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000003
--> KSTREAM-SINK-0000000003
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: KSTREAM-MAPVALUES-0000000003 (stores: [])
--> KSTREAM-SINK-0000000004
Sink: KSTREAM-SINK-0000000003 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000003

Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ Topologies:
--> Project
<-- KSTREAM-SOURCE-0000000000
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000003
--> KSTREAM-SINK-0000000003
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: KSTREAM-MAPVALUES-0000000003 (stores: [])
--> KSTREAM-SINK-0000000004
Sink: KSTREAM-SINK-0000000003 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000003

Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ Topologies:
--> Project
<-- KSTREAM-SOURCE-0000000000
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000003
--> KSTREAM-SINK-0000000003
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: KSTREAM-MAPVALUES-0000000003 (stores: [])
--> KSTREAM-SINK-0000000004
Sink: KSTREAM-SINK-0000000003 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000003

Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ Topologies:
--> Project
<-- KSTREAM-SOURCE-0000000000
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000003
--> KSTREAM-SINK-0000000003
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: KSTREAM-MAPVALUES-0000000003 (stores: [])
--> KSTREAM-SINK-0000000004
Sink: KSTREAM-SINK-0000000003 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000003

Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,8 @@ Topologies:
--> KTABLE-TOSTREAM-0000000006
<-- Aggregate-Aggregate-ToOutputSchema
Processor: KTABLE-TOSTREAM-0000000006 (stores: [])
--> KSTREAM-MAPVALUES-0000000007
--> KSTREAM-SINK-0000000007
<-- Aggregate-Project
Processor: KSTREAM-MAPVALUES-0000000007 (stores: [])
--> KSTREAM-SINK-0000000008
Sink: KSTREAM-SINK-0000000007 (topic: OUTPUT)
<-- KTABLE-TOSTREAM-0000000006
Sink: KSTREAM-SINK-0000000008 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000007

Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,8 @@ Topologies:
--> KTABLE-TOSTREAM-0000000006
<-- Aggregate-Aggregate-ToOutputSchema
Processor: KTABLE-TOSTREAM-0000000006 (stores: [])
--> KSTREAM-MAPVALUES-0000000007
--> KSTREAM-SINK-0000000007
<-- Aggregate-Project
Processor: KSTREAM-MAPVALUES-0000000007 (stores: [])
--> KSTREAM-SINK-0000000008
Sink: KSTREAM-SINK-0000000007 (topic: OUTPUT)
<-- KTABLE-TOSTREAM-0000000006
Sink: KSTREAM-SINK-0000000008 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000007

Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,8 @@ Topologies:
--> KTABLE-TOSTREAM-0000000006
<-- Aggregate-Aggregate-ToOutputSchema
Processor: KTABLE-TOSTREAM-0000000006 (stores: [])
--> KSTREAM-MAPVALUES-0000000007
--> KSTREAM-SINK-0000000007
<-- Aggregate-Project
Processor: KSTREAM-MAPVALUES-0000000007 (stores: [])
--> KSTREAM-SINK-0000000008
Sink: KSTREAM-SINK-0000000007 (topic: OUTPUT)
<-- KTABLE-TOSTREAM-0000000006
Sink: KSTREAM-SINK-0000000008 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000007

Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,8 @@ Topologies:
--> KTABLE-TOSTREAM-0000000006
<-- Aggregate-Aggregate-ToOutputSchema
Processor: KTABLE-TOSTREAM-0000000006 (stores: [])
--> KSTREAM-MAPVALUES-0000000007
--> KSTREAM-SINK-0000000007
<-- Aggregate-Project
Processor: KSTREAM-MAPVALUES-0000000007 (stores: [])
--> KSTREAM-SINK-0000000008
Sink: KSTREAM-SINK-0000000007 (topic: AVG)
<-- KTABLE-TOSTREAM-0000000006
Sink: KSTREAM-SINK-0000000008 (topic: AVG)
<-- KSTREAM-MAPVALUES-0000000007

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ Topologies:
--> Project
<-- KSTREAM-TRANSFORMVALUES-0000000001
Processor: Project (stores: [])
--> KSTREAM-MAPVALUES-0000000004
--> KSTREAM-SINK-0000000004
<-- WhereFilter
Processor: KSTREAM-MAPVALUES-0000000004 (stores: [])
--> KSTREAM-SINK-0000000005
Sink: KSTREAM-SINK-0000000004 (topic: OUTPUT)
<-- Project
Sink: KSTREAM-SINK-0000000005 (topic: OUTPUT)
<-- KSTREAM-MAPVALUES-0000000004

Loading

0 comments on commit a6982bd

Please sign in to comment.