citus/src/test/regress/sql
Murat Tuncer 77f8db6b14 Add view support
Enables use views within distributed queries.
User can create and use a view on distributed tables/queries
as he/she would use with regular queries.

After this change router queries will have full support for views,
insert into select queries will support reading from views, not
writing into. Outer joins would have a limited support, and would
error out at certain cases such as when a view is in the inner side
of the outer join.

Although PostgreSQL supports writing into views under certain circumstances.
We disallowed that for distributed views.
2017-01-13 09:39:42 +03:00
..
.gitignore Make git ignore multi_outer_join_reference test outputs 2016-12-21 15:58:22 +03:00
multi_agg_approximate_distinct.sql Add support for filters 2016-12-01 08:53:46 +03:00
multi_array_agg.sql Support PostgreSQL 9.6 2016-10-18 16:23:55 -06:00
multi_average_expression.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_basic_queries.sql Add LIMIT/OFFSET Support 2016-07-18 12:00:24 +03:00
multi_binary_master_copy_format.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_citus_tools.sql Add citus tools to default configuration 2017-01-10 17:53:27 +03:00
multi_cluster_management.sql Fix CloseNodeConnections to actually close connections 2017-01-11 01:13:58 +02:00
multi_colocated_shard_transfer.sql Improve regression tests for multi_colocated_shard_transfer 2016-12-20 14:09:35 +02:00
multi_colocation_utils.sql Modify tests to create clean workspace 2017-01-05 12:22:44 +03:00
multi_complex_expressions.sql Add support for filters 2016-12-01 08:53:46 +03:00
multi_connection_cache.sql Quick fix for possible segfault in PurgeConnection 2016-07-29 00:12:56 -06:00
multi_count_type_conversion.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_create_fdw.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_create_insert_proxy.sql Add support for prepared statements with parameterized non-partition columns in router executor 2016-07-21 11:09:28 +03:00
multi_create_shards.sql Add syscols in queries; extend relnames in indexes 2016-09-07 11:54:55 -05:00
multi_create_table.sql Add view support 2017-01-13 09:39:42 +03:00
multi_create_table_constraints.sql Always CASCADE while dropping a shard 2016-11-01 10:16:34 +01:00
multi_data_types.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_deparse_shard_query.sql Add ability to reorder target list for INSERT/SELECT queries 2016-10-26 10:00:03 +03:00
multi_distribution_metadata.sql Add get_distribution_value_shardid UDF (#1048) 2016-12-22 12:17:08 +03:00
multi_drop_extension.sql Switch from pg_worker_list.conf file to pg_dist_node metadata table. 2016-10-05 13:01:35 +03:00
multi_dropped_column_aliases.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_expire_table_cache.sql Add UDF master_expire_table_cache 2016-09-28 12:08:37 +03:00
multi_explain.sql Reference Table Support - Phase 1 2016-12-20 14:09:35 +02:00
multi_extension.sql Add master_disable_node UDF 2017-01-10 10:54:57 +03:00
multi_foreign_key.sql Address Onder's comments 2016-12-28 12:26:16 +03:00
multi_function_evaluation.sql Evaluate functions on the master 2016-07-13 11:45:51 -07:00
multi_generate_ddl_commands.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_hash_pruning.sql Make router planner active at all times 2016-12-20 11:24:01 +03:00
multi_index_statements.sql Avoid error during CREATE INDEX IF NOT EXISTS 2016-11-01 14:51:19 -07:00
multi_insert_select.sql Add view support 2017-01-13 09:39:42 +03:00
multi_join_order_additional.sql Expand router planner coverage 2016-07-27 23:35:38 +03:00
multi_join_order_tpch_large.sql Replace verb 'stage' with 'load' in test comments 2016-08-22 13:24:18 -06:00
multi_join_order_tpch_small.sql Add EXPLAIN for simple distributed queries 2016-04-30 00:11:02 +02:00
multi_join_pruning.sql Fix segmentation fault in case of joins with WHERE 1=0 2016-09-26 15:12:29 +02:00
multi_large_table_join_planning.sql Remove variant files 2016-06-13 12:12:06 +03:00
multi_large_table_pruning.sql Fix segmentation fault in case of joins with WHERE 1=0 2016-09-26 15:12:29 +02:00
multi_large_table_task_assignment.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_limit_clause.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_limit_clause_approximate.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_master_protocol.sql Fix Travis local_first_candidate_nodes failures 2016-08-14 23:12:10 -06:00
multi_metadata_access.sql GRANT SELECT access for metadata tables to public 2016-12-23 16:32:47 +03:00
multi_metadata_sync.sql Prevent Deadlock on Dropping MX Tables with Sequences 2016-12-28 16:32:20 +03:00
multi_modifications.sql Feature: INSERT INTO ... SELECT 2016-10-26 10:01:00 +03:00
multi_modifying_xacts.sql Convert router executor to placement connection management infrastructure. 2017-01-09 13:13:02 -08:00
multi_name_lengths.sql Provides safe, idempotent shard-extended names to any object name 2016-10-03 17:02:34 -04:00
multi_null_minmax_value_pruning.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_partition_pruning.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_prepare_plsql.sql Pass down the correct type for null parameters 2016-11-11 07:14:08 +01:00
multi_prepare_sql.sql Invalidate relcache after pg_dist_shard_placement changes. 2016-10-26 03:36:35 -07:00
multi_prune_shard_list.sql Remove hash-pruning logic for NULL values 2016-07-06 17:04:21 -06:00
multi_query_directory_cleanup.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_reference_table.sql Modify tests to create clean workspace 2017-01-05 12:22:44 +03:00
multi_repair_shards.sql Disallow SendCommandListToWorkerInSingleTransaction when modifications have occurred 2016-11-02 12:26:56 +01:00
multi_repartition_udt.sql During repartitions, the partitionColumnType argument sent to workers 2016-10-03 13:41:20 -04:00
multi_repartitioned_subquery_udf.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_replicate_reference_table.sql Add ORDER BY clause to shard state tests to have consistent output 2017-01-13 02:42:28 +03:00
multi_router_planner.sql Error out on CTEs with data modifying statement 2017-01-10 10:30:09 +02:00
multi_schema_support.sql Add ORDER BY clause to shard state tests to have consistent output 2017-01-13 02:42:28 +03:00
multi_shard_modify.sql Error on Unsupported Features on Workers 2017-01-02 16:03:45 +03:00
multi_simple_queries.sql Support PostgreSQL 9.6 2016-10-18 16:23:55 -06:00
multi_single_relation_subquery.sql Add HAVING support 2016-10-13 15:47:53 +03:00
multi_sql_function.sql Add regression tests for parameterized queries 2016-10-18 14:02:50 +03:00
multi_table_ddl.sql Switch from pg_worker_list.conf file to pg_dist_node metadata table. 2016-10-05 13:01:35 +03:00
multi_task_assignment_policy.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query1.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query3.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query6.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query7.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query7_nested.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query10.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query12.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query14.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_tpch_query19.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_transaction_recovery.sql Enable transaction recovery in connection API 2016-12-23 16:14:29 +01:00
multi_truncate.sql Parallelise master_modify_multiple_shards 2016-10-19 08:33:08 +02:00
multi_unsupported_worker_operations.sql Modify tests to create clean workspace 2017-01-05 12:22:44 +03:00
multi_upgrade_reference_table.sql Add ORDER BY clause to shard state tests to have consistent output 2017-01-13 02:42:28 +03:00
multi_upsert.sql Remove references to 9.4 2016-09-29 17:35:19 -06:00
multi_utilities.sql Add shard locking UDFs 2016-12-22 11:04:34 +01:00
multi_utility_statements.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
multi_utility_warnings.sql Remove warnings on schema creation 2016-07-22 18:24:23 +03:00
multi_verify_no_subquery.sql Add LIMIT/OFFSET Support 2016-07-18 12:00:24 +03:00
multi_view.sql Add view support 2017-01-13 09:39:42 +03:00
multi_working_columns.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
task_tracker_assign_task.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
task_tracker_cleanup_job.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
task_tracker_create_table.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
task_tracker_partition_task.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
worker_binary_data_partition.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
worker_check_invalid_arguments.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
worker_create_table.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
worker_hash_partition.sql During repartitions, the partitionColumnType argument sent to workers 2016-10-03 13:41:20 -04:00
worker_hash_partition_complex.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
worker_merge_hash_files.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
worker_merge_range_files.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
worker_null_data_partition.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00
worker_range_partition.sql Use single-quote interpolation in partition test 2016-10-10 13:03:43 -06:00
worker_range_partition_complex.sql Set Explicit ShardId/JobId In Regression Tests 2016-06-07 14:32:44 +03:00