()
| 1918 | |
| 1919 | #[test] |
| 1920 | fn copy_to_options() -> Result<(), DataFusionError> { |
| 1921 | let sql = "COPY foo TO bar STORED AS CSV OPTIONS ('row_group_size' '55')"; |
| 1922 | let expected = Statement::CopyTo(CopyToStatement { |
| 1923 | source: object_name("foo"), |
| 1924 | target: "bar".to_string(), |
| 1925 | partitioned_by: vec![], |
| 1926 | stored_as: Some("CSV".to_owned()), |
| 1927 | options: vec![( |
| 1928 | "row_group_size".to_string(), |
| 1929 | Value::SingleQuotedString("55".to_string()), |
| 1930 | )], |
| 1931 | }); |
| 1932 | assert_eq!(verified_stmt(sql), expected); |
| 1933 | Ok(()) |
| 1934 | } |
| 1935 | |
| 1936 | #[test] |
| 1937 | fn copy_to_partitioned_by() -> Result<(), DataFusionError> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…