Skip to content

Support COPY TO to write query result to .csv file

Codecov / codecov/patch succeeded Jul 27, 2023 in 0s

88.78% of diff hit (target 80.00%)

View this Pull Request on Codecov

88.78% of diff hit (target 80.00%)

Annotations

Check warning on line 143 in src/binder/bind/bind_copy.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/binder/bind/bind_copy.cpp#L143

Added line #L143 was not covered by tests

Check warning on line 34 in src/common/copier_config/copier_config.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/common/copier_config/copier_config.cpp#L34

Added line #L34 was not covered by tests

Check warning on line 42 in src/common/copier_config/copier_config.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/common/copier_config/copier_config.cpp#L39-L42

Added lines #L39 - L42 were not covered by tests

Check warning on line 45 in src/common/copier_config/copier_config.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/common/copier_config/copier_config.cpp#L45

Added line #L45 was not covered by tests

Check warning on line 52 in src/include/planner/logical_plan/logical_operator/logical_copy_from.h

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/include/planner/logical_plan/logical_operator/logical_copy_from.h#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 20 in src/planner/operator/base_logical_operator.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/planner/operator/base_logical_operator.cpp#L20

Added line #L20 was not covered by tests

Check warning on line 23 in src/planner/operator/base_logical_operator.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/planner/operator/base_logical_operator.cpp#L23

Added line #L23 was not covered by tests

Check warning on line 48 in src/processor/mapper/map_copy.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/processor/mapper/map_copy.cpp#L48

Added line #L48 was not covered by tests

Check warning on line 68 in src/processor/operator/copy_to/csv_file_writer.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/processor/operator/copy_to/csv_file_writer.cpp#L65-L68

Added lines #L65 - L68 were not covered by tests

Check warning on line 78 in src/processor/operator/copy_to/csv_file_writer.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/processor/operator/copy_to/csv_file_writer.cpp#L77-L78

Added lines #L77 - L78 were not covered by tests

Check warning on line 82 in src/processor/operator/copy_to/csv_file_writer.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/processor/operator/copy_to/csv_file_writer.cpp#L81-L82

Added lines #L81 - L82 were not covered by tests

Check warning on line 87 in src/processor/operator/copy_to/csv_file_writer.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/processor/operator/copy_to/csv_file_writer.cpp#L86-L87

Added lines #L86 - L87 were not covered by tests

Check warning on line 27 in src/processor/operator/physical_operator.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/processor/operator/physical_operator.cpp#L27

Added line #L27 was not covered by tests