citus/src/backend/distributed/commands
Brian Cloutier 7be1545843 Support implicit casts during INSERT/SELECT
It's possible to build INSERT SELECT queries which include implicit
casts, currently we attempt to support these by adding explicit casts to
the SELECT query, but this sometimes crashes because we don't update all
nodes with the new types. (SortClauses, for instance)

This commit removes those explicit casts and passes an unmodified SELECT
query to the COPY executor (how we implement INSERT SELECT under the
scenes). In lieu of those cases, COPY has been given some extra logic to
inspect queries, notice that the types don't line up with the table it's
supposed to be inserting into, and "manually" casting every tuple before
sending them to workers.
2017-11-03 22:27:15 -07:00
..
create_distributed_table.c Allow distributed partitioned table creation in Cloud 2017-11-03 10:09:18 +01:00
drop_distributed_table.c Add version checks to necessary UDFs 2017-05-22 09:53:29 +03:00
multi_copy.c Support implicit casts during INSERT/SELECT 2017-11-03 22:27:15 -07:00
transmit.c Add adapter functions for OpenFile changes 2017-09-25 17:20:24 -07:00