fix(export): mark NULL as \N in CSV and TSV exports
This commit is contained in:
49 files changed
+1056
-130
No files matched your search
@@ -102,6 +102,7 @@ async fn live_clickhouse_query_result_export_xlsx_streams_random_order_query_onc
|
||||
execution_id: Some(format!("live-clickhouse-query-export-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
|
||||
@@ -477,6 +477,7 @@ async fn live_mysql_query_result_export_xlsx_streams_single_query_without_duplic
|
||||
execution_id: Some(format!("live-mysql-query-export-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
@@ -572,6 +573,7 @@ async fn live_mysql_csv_temporal_export_round_trip_preserves_dbx_force_text_valu
|
||||
execution_id: Some(format!("live-mysql-issue-8803-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
@@ -691,6 +693,7 @@ async fn live_mysql_xlsx_export_can_outlive_query_timeout_while_rows_keep_arrivi
|
||||
execution_id: Some(format!("live-mysql-query-export-timeout-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
|
||||
@@ -150,6 +150,7 @@ async fn live_postgres_query_result_export_uses_single_streamed_query() {
|
||||
execution_id: Some(format!("live-postgres-query-export-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
@@ -238,6 +239,7 @@ async fn live_postgres_query_result_xlsx_preserves_temporal_cell_types() {
|
||||
execution_id: Some(format!("live-postgres-xlsx-temporal-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
@@ -315,6 +317,7 @@ async fn live_postgres_numeric_xlsx_ignores_fractional_trailing_zeros() {
|
||||
execution_id: Some(format!("live-postgres-xlsx-numeric-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
@@ -397,6 +400,7 @@ async fn live_postgres_truncated_batch_result_export_replays_safe_temp_setup() {
|
||||
execution_id: Some(format!("temp-export-csv-{short_suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
@@ -481,6 +485,7 @@ async fn live_postgres_xlsx_export_can_outlive_query_timeout_while_rows_keep_arr
|
||||
execution_id: Some(format!("live-postgres-query-export-timeout-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
@@ -556,6 +561,7 @@ async fn live_postgres_stream_still_times_out_without_progress_and_recovers() {
|
||||
execution_id: Some(format!("live-postgres-query-export-stall-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
|
||||
@@ -1215,6 +1215,7 @@ async fn live_sqlserver_query_result_export_streams_cte_query_to_csv() {
|
||||
execution_id: Some(format!("live-sqlserver-export-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
|
||||
@@ -129,6 +129,7 @@ async fn live_sqlserver_xlsx_export_can_outlive_query_timeout_while_rows_keep_ar
|
||||
execution_id: Some(format!("live-sqlserver-xlsx-{suffix}")),
|
||||
date_time_format: None,
|
||||
csv_quote_mode: Default::default(),
|
||||
null_literal: String::new(),
|
||||
export_table_name: None,
|
||||
export_column_types: None,
|
||||
selected_columns: None,
|
||||
|
||||
Reference in new issue
Block a user