fix(kingbase): honor connection identifier quotes in exports
This commit is contained in:
1 parent
cb09a5c75b
commit
9fc7721590
18 files changed
+313
-8
No files matched your search
@@ -104,6 +104,7 @@ async fn live_clickhouse_query_result_export_xlsx_streams_random_order_query_onc
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let done_seen = AtomicBool::new(false);
|
||||
|
||||
@@ -450,6 +450,7 @@ async fn live_mysql_query_result_export_xlsx_streams_single_query_without_duplic
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let done_seen = AtomicBool::new(false);
|
||||
@@ -540,6 +541,7 @@ async fn live_mysql_xlsx_export_can_outlive_query_timeout_while_rows_keep_arrivi
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let rows_exported = AtomicU64::new(0);
|
||||
|
||||
@@ -144,6 +144,7 @@ async fn live_postgres_query_result_export_uses_single_streamed_query() {
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let done_seen = AtomicBool::new(false);
|
||||
@@ -224,6 +225,7 @@ async fn live_postgres_query_result_xlsx_preserves_temporal_cell_types() {
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
|
||||
@@ -293,6 +295,7 @@ async fn live_postgres_numeric_xlsx_ignores_fractional_trailing_zeros() {
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: true,
|
||||
};
|
||||
|
||||
@@ -367,6 +370,7 @@ async fn live_postgres_truncated_batch_result_export_replays_safe_temp_setup() {
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let csv_rows = AtomicU64::new(0);
|
||||
@@ -443,6 +447,7 @@ async fn live_postgres_xlsx_export_can_outlive_query_timeout_while_rows_keep_arr
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let rows_exported = AtomicU64::new(0);
|
||||
@@ -510,6 +515,7 @@ async fn live_postgres_stream_still_times_out_without_progress_and_recovers() {
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let started_at = Instant::now();
|
||||
|
||||
@@ -70,6 +70,7 @@ async fn postgres_tsvector_generated_columns_are_readable_and_omitted_from_inser
|
||||
};
|
||||
let copy_insert = build_data_grid_copy_insert_statement(DataGridCopyInsertStatementOptions {
|
||||
database_type: Some(DatabaseType::Postgres),
|
||||
identifier_quote: None,
|
||||
table_meta: Some(table_meta),
|
||||
columns: result.columns.clone(),
|
||||
column_types: None,
|
||||
@@ -85,6 +86,7 @@ async fn postgres_tsvector_generated_columns_are_readable_and_omitted_from_inser
|
||||
|
||||
let export_insert = build_export_insert_statements(BuildExportInsertStatementsOptions {
|
||||
database_type: Some(DatabaseType::Postgres),
|
||||
identifier_quote: None,
|
||||
schema: Some(schema.clone()),
|
||||
table_name: Some("articles".to_string()),
|
||||
qualified_table_name: None,
|
||||
|
||||
@@ -1201,6 +1201,7 @@ async fn live_sqlserver_query_result_export_streams_cte_query_to_csv() {
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let done_seen = AtomicBool::new(false);
|
||||
|
||||
@@ -119,6 +119,7 @@ async fn live_sqlserver_xlsx_export_can_outlive_query_timeout_while_rows_keep_ar
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
column_comments: None,
|
||||
identifier_quote: None,
|
||||
numeric_column_right_align: false,
|
||||
};
|
||||
let rows_exported = AtomicU64::new(0);
|
||||
|
||||
Reference in new issue
Block a user