()
| 1811 | |
| 1812 | #[test] |
| 1813 | fn copy_to_table_to_table() -> Result<(), DataFusionError> { |
| 1814 | // positive case |
| 1815 | let sql = "COPY foo TO bar STORED AS CSV"; |
| 1816 | let expected = Statement::CopyTo(CopyToStatement { |
| 1817 | source: object_name("foo"), |
| 1818 | target: "bar".to_string(), |
| 1819 | partitioned_by: vec![], |
| 1820 | stored_as: Some("CSV".to_owned()), |
| 1821 | options: vec![], |
| 1822 | }); |
| 1823 | |
| 1824 | assert_eq!(verified_stmt(sql), expected); |
| 1825 | Ok(()) |
| 1826 | } |
| 1827 | |
| 1828 | #[test] |
| 1829 | fn skip_copy_into_snowflake() -> Result<(), DataFusionError> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…