DuckDB is an analytical in-process SQL database management system
4373 matches across 17 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | benchmark/interpreted_benchmark.cpp | 1 | #include "interpreted_benchmark.hpp" |
| LOW | benchmark/benchmark_runner.cpp | 1 | #include "benchmark_runner.hpp" |
| LOW | benchmark/include/duckdb_benchmark.hpp | 1 | //===----------------------------------------------------------------------===// |
| LOW | benchmark/include/benchmark_runner.hpp | 1 | //===----------------------------------------------------------------------===// |
| LOW | benchmark/include/interpreted_benchmark.hpp | 1 | //===----------------------------------------------------------------------===// |
| LOW | benchmark/include/benchmark_configuration.hpp | 1 | //===----------------------------------------------------------------------===// |
| LOW | benchmark/include/benchmark.hpp | 1 | //===----------------------------------------------------------------------===// |
| LOW | benchmark/include/duckdb_benchmark_macro.hpp | 1 | //===----------------------------------------------------------------------===// |
| LOW | benchmark/aoc24/queries/day25.sql | 21 | .#..# |
| LOW | benchmark/aoc24/queries/day25.sql | 41 | |
| LOW | benchmark/aoc24/queries/day25.sql | 101 | .##.# |
| LOW | benchmark/aoc24/queries/day25.sql | 121 | |
| LOW | benchmark/aoc24/queries/day25.sql | 161 | |
| LOW | benchmark/aoc24/queries/day25.sql | 221 | #.#.. |
| LOW | benchmark/aoc24/queries/day25.sql | 281 | |
| LOW | benchmark/aoc24/queries/day25.sql | 301 | .#.#. |
| LOW | benchmark/aoc24/queries/day25.sql | 341 | #..## |
| LOW | benchmark/aoc24/queries/day25.sql | 361 | |
| LOW | benchmark/aoc24/queries/day25.sql | 381 | #...# |
| LOW | benchmark/aoc24/queries/day25.sql | 681 | |
| LOW | benchmark/aoc24/queries/day25.sql | 701 | #.#.# |
| LOW | benchmark/aoc24/queries/day25.sql | 741 | ...#. |
| LOW | benchmark/aoc24/queries/day25.sql | 781 | #.#.# |
| LOW | benchmark/aoc24/queries/day25.sql | 841 | |
| LOW | benchmark/aoc24/queries/day25.sql | 901 | ##### |
| LOW | benchmark/aoc24/queries/day25.sql | 921 | |
| LOW | benchmark/aoc24/queries/day25.sql | 1001 | |
| LOW | benchmark/aoc24/queries/day25.sql | 1121 | |
| LOW | benchmark/aoc24/queries/day25.sql | 1141 | ##..# |
| LOW | benchmark/aoc24/queries/day25.sql | 1181 | .#.## |
| LOW | benchmark/aoc24/queries/day25.sql | 1221 | #.#.# |
| LOW | benchmark/aoc24/queries/day25.sql | 1301 | #.#.# |
| LOW | benchmark/aoc24/queries/day25.sql | 1321 | |
| LOW | benchmark/aoc24/queries/day25.sql | 1381 | #.#.. |
| LOW | benchmark/aoc24/queries/day25.sql | 1421 | #.### |
| LOW | benchmark/aoc24/queries/day25.sql | 1501 | ##### |
| LOW | benchmark/aoc24/queries/day25.sql | 1661 | #.#.# |
| LOW | benchmark/aoc24/queries/day25.sql | 1701 | #.#.. |
| LOW | benchmark/aoc24/queries/day25.sql | 1741 | ...#. |
| LOW | benchmark/aoc24/queries/day25.sql | 1781 | .#.#. |
| LOW | benchmark/aoc24/queries/day25.sql | 1841 | |
| LOW | benchmark/aoc24/queries/day25.sql | 2061 | #.#.. |
| LOW | benchmark/aoc24/queries/day25.sql | 2081 | |
| LOW | benchmark/aoc24/queries/day25.sql | 2101 | ##.#. |
| LOW | benchmark/aoc24/queries/day25.sql | 2161 | |
| LOW | benchmark/aoc24/queries/day25.sql | 2181 | .##.. |
| LOW | benchmark/aoc24/queries/day25.sql | 2221 | .#.## |
| LOW | benchmark/aoc24/queries/day25.sql | 2361 | |
| LOW | benchmark/aoc24/queries/day25.sql | 2381 | ####. |
| LOW | benchmark/aoc24/queries/day25.sql | 2421 | ..#.. |
| LOW | benchmark/aoc24/queries/day25.sql | 2561 | |
| LOW | benchmark/aoc24/queries/day25.sql | 2581 | .#.#. |
| LOW | benchmark/aoc24/queries/day25.sql | 2641 | |
| LOW | benchmark/aoc24/queries/day25.sql | 2681 | |
| LOW | benchmark/aoc24/queries/day25.sql | 2741 | ###.# |
| LOW | benchmark/aoc24/queries/day25.sql | 3041 | |
| LOW | benchmark/aoc24/queries/day25.sql | 3101 | ####. |
| LOW | benchmark/aoc24/queries/day25.sql | 3121 | |
| LOW | benchmark/aoc24/queries/day25.sql | 3361 | |
| LOW | benchmark/aoc24/queries/day25.sql | 3401 | |
| 3616 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/shell/tests/test_autocomplete.py | 161 | def test_autocomplete_funky_column(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 170 | def test_autocomplete_semicolon(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 178 | def test_autocomplete_comments(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 188 | def test_autocomplete_scalar_functions(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 196 | def test_autocomplete_aggregates(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 204 | def test_autocomplete_builtin_views(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 212 | def test_autocomplete_table_function(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 280 | def test_autocomplete_disambiguation_column(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 289 | def test_autocomplete_disambiguation_table(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 298 | def test_autocomplete_directory(shell, autocomplete_extension, tmp_path): |
| LOW | tools/shell/tests/test_autocomplete.py | 20 | def test_autocomplete_first_from(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 64 | def test_autocomplete_into_table(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 91 | def test_autocomplete_delete_from(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 100 | def test_autocomplete_from_table(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 118 | def test_autocomplete_update_table(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 135 | def test_autocomplete_update_column(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_autocomplete.py | 144 | def test_autocomplete_funky_table(shell, autocomplete_extension): |
| LOW | tools/shell/tests/test_highlighting.py | 13 | def test_highlight_column_header(shell): |
| LOW | tools/shell/tests/test_highlighting.py | 35 | def test_custom_highlight_error(shell): |
| LOW | tools/shell/tests/conftest.py | 19 | def pytest_collection_modifyitems(config, items): |
| LOW | tools/shell/tests/test_shell_rendering.py | 103 | def test_mode_json_empty_result(shell): |
| LOW | tools/shell/tests/test_shell_rendering.py | 125 | def test_long_type_empty_result(shell): |
| LOW | tools/shell/tests/test_logging.py | 22 | def test_logging_custom_delim(shell): |
| LOW | tools/shell/tests/test_pager.py | 6 | def test_pager_status_default(shell): |
| LOW | tools/shell/tests/test_pager.py | 36 | def test_pager_on_with_pager_env(shell): |
| LOW | tools/shell/tests/test_pager.py | 48 | def test_pager_on_with_duckdb_pager_env(shell): |
| LOW | tools/shell/tests/test_pager.py | 61 | def test_pager_duckdb_pager_priority(shell): |
| LOW | tools/shell/tests/test_pager.py | 73 | def test_pager_custom_command(shell): |
| LOW | tools/shell/tests/test_pager.py | 84 | def test_pager_custom_command_with_args(shell): |
| LOW | tools/shell/tests/test_pager.py | 94 | def test_pager_with_query_output(shell): |
| LOW | tools/shell/tests/test_pager.py | 105 | def test_pager_doesnt_affect_error_messages(shell): |
| LOW | tools/shell/tests/test_pager.py | 117 | def test_pager_preserves_nullvalue(shell): |
| LOW | tools/shell/tests/test_pager.py | 128 | def test_pager_multiple_queries(shell): |
| LOW | tools/shell/tests/test_safe_mode.py | 22 | def test_safe_mode_dot_command(shell, param): |
| LOW | tools/shell/tests/test_safe_mode.py | 33 | def test_safe_mode_database_basic(shell, random_filepath): |
| LOW | tools/shell/tests/test_safe_mode.py | 45 | def test_safe_mode_database_commands(shell, random_filepath, command, persistent): |
| LOW | tools/shell/tests/test_prompt.py | 10 | def test_prompt_unterminated_bracket(shell): |
| LOW | tools/shell/tests/test_prompt.py | 18 | def test_prompt_unterminated_escape(shell): |
| LOW | tools/shell/tests/test_prompt.py | 26 | def test_prompt_invalid_option(shell): |
| LOW | tools/shell/tests/test_prompt.py | 34 | def test_prompt_missing_query(shell): |
| LOW | tools/shell/tests/test_prompt.py | 42 | def test_prompt_invalid_color(shell): |
| LOW | tools/shell/tests/test_errors.py | 69 | def test_single_quotes_in_error(shell): |
| LOW | tools/shell/tests/test_errors.py | 80 | def test_double_quotes_in_error(shell): |
| LOW | tools/shell/tests/test_warning.py | 82 | def test_changing_logging_settings(shell, tmp_path): |
| LOW | tools/shell/tests/test_readable_numbers.py | 23 | def test_readable_numbers_exhaustive(shell, test_rounding): |
| LOW | tools/shell/tests/test_readable_numbers.py | 45 | def test_readable_numbers_rounding(shell): |
| LOW | tools/shell/tests/test_readable_numbers.py | 58 | def test_readable_rounding_edge_case(shell): |
| LOW | tools/shell/tests/test_readable_numbers.py | 68 | def test_readable_numbers_limit(shell): |
| LOW | tools/shell/tests/test_readable_numbers.py | 98 | def test_disable_readable_numbers(shell): |
| LOW | tools/shell/tests/test_readable_numbers.py | 107 | def test_large_number_rendering_all(shell): |
| LOW | tools/shell/tests/test_readable_numbers.py | 117 | def test_readable_numbers_columns(shell): |
| LOW | tools/shell/tests/test_readable_numbers.py | 126 | def test_readable_numbers_row_count(shell): |
| LOW | tools/shell/tests/test_readable_numbers.py | 135 | def test_readable_numbers_row_count_wide(shell): |
| LOW | tools/shell/tests/test_readable_numbers.py | 144 | def test_readable_numbers_row_count_wide_single_col(shell): |
| LOW | tools/shell/tests/test_command_line_arguments.py | 38 | def test_storage_version_latest(shell): |
| LOW | tools/shell/tests/test_command_line_arguments.py | 80 | def test_storage_version_error(shell): |
| LOW | tools/shell/tests/test_schema_metadata_rendering.py | 34 | def test_detaching_default_db(shell): |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 21 | def test_analyze_streaming_wrap(shell): |
| LOW | tools/shell/tests/test_read_from_stdin.py | 50 | def test_read_stdin_csv_where_filename(self, shell): |
| LOW | tools/shell/tests/test_read_from_stdin.py | 109 | def test_read_stdin_csv_auto_projection(self, shell): |
| 188 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/shell/tests/test_format.py | 59 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/shell/tests/test_format.py | 61 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/sync_out_of_tree_extensions.py | 300 | # ── Fresh clone ────────────────────────────────────────────────────── |
| MEDIUM | scripts/sync_out_of_tree_extensions.py | 314 | # ── Skip patches: leave the existing repo untouched ────────────────── |
| MEDIUM | scripts/sync_out_of_tree_extensions.py | 317 | # ── Existing repo ──────────────────────────────────────────────────── |
| MEDIUM | scripts/generate_util.py | 66 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 68 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 461 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 463 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 729 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 731 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 30 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 32 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 245 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 247 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 343 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/generate_util.py | 345 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 27 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 29 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 510 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 512 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 618 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 620 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 805 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 807 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 952 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 954 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 1033 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 1036 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 1151 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/grammar_types.yml | 1153 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 252 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 254 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 370 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 768 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 770 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 13 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 15 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 186 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 192 | # --------------------------------------------------------------------------- |
| MEDIUM | scripts/parser/gen_transformer_v2.py | 387 | # --------------------------------------------------------------------------- |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 20 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 22 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 82 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 84 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 112 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 114 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 181 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 183 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 301 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 303 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 340 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 342 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 747 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 749 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 807 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 809 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 915 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 917 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 1011 | // ───────────────────────────────────────────────────────────────────────────── |
| 7 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/shell/tests/test_autocomplete.py | 3 | |
| LOW | tools/shell/tests/test_autocomplete.py | 4 | |
| LOW | tools/shell/tests/test_autocomplete.py | 5 | |
| LOW | tools/shell/tests/test_autocomplete.py | 6 | |
| LOW | tools/shell/tests/test_autocomplete.py | 8 | |
| LOW | tools/shell/tests/test_autocomplete.py | 9 | |
| LOW | tools/shell/tests/test_highlighting.py | 4 | |
| LOW | tools/shell/tests/test_highlighting.py | 5 | |
| LOW | tools/shell/tests/test_highlighting.py | 6 | |
| LOW | tools/shell/tests/test_shell_rendering.py | 4 | |
| LOW | tools/shell/tests/test_shell_rendering.py | 5 | |
| LOW | tools/shell/tests/test_shell_rendering.py | 6 | |
| LOW | tools/shell/tests/test_shell_rendering.py | 8 | |
| LOW | tools/shell/tests/test_shell_rendering.py | 9 | |
| LOW | tools/shell/tests/test_logging.py | 3 | |
| LOW | tools/shell/tests/test_logging.py | 4 | |
| LOW | tools/shell/tests/test_logging.py | 5 | |
| LOW | tools/shell/tests/test_logging.py | 7 | |
| LOW | tools/shell/tests/test_pager.py | 3 | |
| LOW | tools/shell/tests/test_safe_mode.py | 4 | |
| LOW | tools/shell/tests/test_safe_mode.py | 5 | |
| LOW | tools/shell/tests/test_safe_mode.py | 6 | |
| LOW | tools/shell/tests/test_prompt.py | 3 | |
| LOW | tools/shell/tests/test_prompt.py | 4 | |
| LOW | tools/shell/tests/test_prompt.py | 5 | |
| LOW | tools/shell/tests/test_prompt.py | 6 | |
| LOW | tools/shell/tests/test_errors.py | 4 | |
| LOW | tools/shell/tests/test_errors.py | 5 | |
| LOW | tools/shell/tests/test_errors.py | 6 | |
| LOW | tools/shell/tests/test_profiling.py | 3 | |
| LOW | tools/shell/tests/test_profiling.py | 4 | |
| LOW | tools/shell/tests/test_profiling.py | 5 | |
| LOW | tools/shell/tests/test_profiling.py | 6 | |
| LOW | tools/shell/tests/test_readable_numbers.py | 4 | |
| LOW | tools/shell/tests/test_readable_numbers.py | 5 | |
| LOW | tools/shell/tests/test_readable_numbers.py | 6 | |
| LOW | tools/shell/tests/test_readable_numbers.py | 8 | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 3 | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 4 | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 5 | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 6 | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 8 | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 9 | |
| LOW | tools/shell/tests/test_http_logging.py | 4 | |
| LOW | tools/shell/tests/test_http_logging.py | 5 | |
| LOW | tools/shell/tests/test_http_logging.py | 6 | |
| LOW | tools/shell/tests/test_http_logging.py | 8 | |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 3 | |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 4 | |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 5 | |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 6 | |
| LOW | tools/shell/tests/test_read_from_stdin.py | 4 | |
| LOW | tools/shell/tests/test_read_from_stdin.py | 5 | |
| LOW | tools/shell/tests/test_read_from_stdin.py | 6 | |
| LOW | tools/shell/tests/test_read_from_stdin.py | 8 | |
| LOW | tools/shell/tests/test_import.py | 3 | |
| LOW | tools/shell/tests/test_import.py | 4 | |
| LOW | tools/shell/tests/test_import.py | 5 | |
| LOW | tools/shell/tests/test_import.py | 6 | |
| LOW | tools/shell/tests/test_import.py | 8 | |
| 109 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 309 | if (sniffed_column_counts.state_machine.options.dialect_options.skip_rows.IsSetByUser()) { |
| CRITICAL | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 311 | sniffed_column_counts.state_machine.options.dialect_options.skip_rows.GetValue(); |
| CRITICAL | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 355 | sniffed_column_counts.state_machine.dialect_options.state_machine_options.quote.GetValue() != '\0'; |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 214 | if (result.state_machine.dialect_options.state_machine_options.new_line.GetValue() != NewLineIdentifier::CARRY_ON) { |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 644 | value_ptr, length, result.state_machine.dialect_options.state_machine_options.escape.GetValue(), |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 645 | result.state_machine.dialect_options.state_machine_options.quote.GetValue(), |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 646 | result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(), |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 1548 | result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(), |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 1580 | result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(), |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 1590 | !result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().empty()) { |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 1592 | result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().size() - 1; |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/bwc/runner.py | 278 | except Exception as e: |
| LOW | test/bwc/runner.py | 314 | except Exception as e: |
| MEDIUM | test/bwc/update_cache.py | 52 | print(f"Error: cache directory not found in test-utils: {cache_dir}") |
| MEDIUM | test/bwc/export_cache.py | 107 | print(f"Error: runtime directory not found: {runtime_dir}") |
| LOW | test/bwc/utils/test_files_parser.py | 496 | except Exception as e: |
| LOW | test/bwc/utils/test_files_parser.py | 675 | except Exception as e: |
| LOW | test/bwc/utils/duckdb_cli.py | 62 | except Exception as e: |
| LOW | test/bwc/utils/duckdb_cli.py | 100 | except Exception: |
| LOW | test/bwc/utils/duckdb_cli.py | 106 | except Exception: |
| LOW | test/bwc/utils/duckdb_cli.py | 118 | except Exception: |
| MEDIUM | test/bwc/utils/duckdb_cli.py | 35 | def start(self): |
| LOW | test/parquet/generate_parquet_test.py | 43 | except Exception as e: |
| MEDIUM | scripts/generate_storage_info.py | 90 | print(f"Error: {path} not found.") |
| MEDIUM | scripts/generate_storage_info.py | 112 | print(f"Error: Version map not found at {VERSION_MAP_PATH}") |
| MEDIUM | scripts/run-clang-tidy.py | 69 | print('Error: could not find compilation database.') |
| MEDIUM | scripts/run-clang-tidy.py | 337 | print('Error exporting fixes.\n', file=sys.stderr) |
| MEDIUM | scripts/run-clang-tidy.py | 346 | print('Error applying fixes.\n', file=sys.stderr) |
| MEDIUM | scripts/create_patch.py | 36 | print(f"Error: Extension CMake file not found: {cmake_path}") |
| MEDIUM | scripts/create_patch.py | 44 | print(f"Error: Could not find GIT_TAG in {cmake_path}") |
| MEDIUM | scripts/create_patch.py | 61 | print(f"Error: Failed to run git in {args.repository_path} — {e.stderr.strip()}") |
| MEDIUM | scripts/create_patch.py | 85 | print(f"Error: Failed to run git diff — {e.stderr.strip()}") |
| LOW | scripts/format.py | 34 | except Exception as e: |
| LOW | scripts/format.py | 44 | except Exception as e: |
| LOW | scripts/format.py | 53 | except Exception as e: |
| LOW | scripts/generate_serialization.py | 859 | except Exception as e: |
| MEDIUM | scripts/cleanup_config_skip_tests.py | 166 | print(f"Error: Config directory not found: {config_dir}", file=sys.stderr) |
| MEDIUM | scripts/cleanup_config_skip_tests.py | 184 | print(f"Error parsing {config_path}: {e}", file=sys.stderr) |
| LOW | scripts/cleanup_config_skip_tests.py | 185 | except Exception as e: |
| MEDIUM | scripts/cleanup_config_skip_tests.py | 186 | print(f"Error processing {config_path}: {e}", file=sys.stderr) |
| LOW | scripts/run-clangd-tidy.py | 177 | except Exception: |
| LOW | scripts/clang-tidy-diff.py | 79 | except Exception as e: |
| LOW | scripts/asset-upload-gha.py | 74 | except Exception as e: |
| MEDIUM | scripts/format_test_benchmark.py | 64 | print("Error: -i cannot be used with stdin", file=sys.stderr) |
| MEDIUM | scripts/format_test_benchmark.py | 73 | print(f"Error: {file_path} is not a file", file=sys.stderr) |
| MEDIUM | scripts/format_test_benchmark.py | 102 | print("Error: -f/--full-path can only be used with stdin (-)", file=sys.stderr) |
| MEDIUM | scripts/format_test_benchmark.py | 105 | print("Error: -f/--full-path cannot be used with multiple files", file=sys.stderr) |
| LOW | scripts/ci/run_tests.py | 849 | except Exception as exc: |
| MEDIUM | scripts/parser/generate_transformer.py | 51 | print("Error: PyYAML is required. Install with: pip install pyyaml", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 55 | print(f"Error: {types_file} not found.", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 62 | print(f"Error: {types_file} is malformed (expected a top-level mapping).", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 122 | print(f"Error: Grammar directory not found: {grammar_path}", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 127 | print(f"Error: No *.gram files found in {grammar_path}", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 138 | print(f"Error reading {file_path}: {e}", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 178 | print(f"Error reading {file_path}: {e}", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 216 | print(f"Error reading {factory_file_path}: {e}", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 103 | print(f"Error: {types_file} contains duplicate rule listings:", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 165 | print(f"Error: No *.cpp files found in {transformer_path}", file=sys.stderr) |
| MEDIUM | scripts/parser/generate_transformer.py | 197 | print(f"Error: Factory file not found: {factory_file_path}", file=sys.stderr) |
| LOW | scripts/parser/generate_transformer.py | 137 | except Exception as e: |
| LOW | scripts/parser/generate_transformer.py | 177 | except Exception as e: |
| LOW | scripts/parser/generate_transformer.py | 215 | except Exception as e: |
| MEDIUM | scripts/parser/generate_transformer.py | 299 | print("Error: Could not find grammar rules. Exiting.", file=sys.stderr) |
| MEDIUM | scripts/parser/inline_grammar.py | 303 | print(f"Error: rule '{rule_name}' references undefined rule '{ref}'") |
| LOW | scripts/parser/inline_grammar.py | 350 | except Exception as e: |
| LOW | scripts/parser/inline_grammar.py | 375 | except Exception as e: |
| LOW | scripts/parser/gen_transformer_v2.py | 890 | except Exception as e: |
| LOW | scripts/parser/gen_transformer_v2.py | 1188 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/shell/tests/test_shell_rendering.py | 77 | .statement("select 'val || other_val' c;") |
| HIGH | tools/shell/tests/test_large_value_rendering.py | 60 | "value": {"type": {"id": "BLOB", "type_info": null}, "is_null": false, "value": "10"} |
| HIGH | tools/shell/tests/test_large_value_rendering.py | 63 | "from_table": {"type": "EMPTY", "alias": "", "sample": null, "query_location": 18446744073709551615}, |
| HIGH | tools/shell/tests/test_large_value_rendering.py | 64 | "where_clause": null, |
| HIGH | tools/shell/tests/test_large_value_rendering.py | 68 | "having": null, |
| HIGH | tools/shell/tests/test_large_value_rendering.py | 69 | "sample": null, |
| HIGH | tools/shell/tests/test_rendering_mode_regression.py | 1282 | expected_results[all_types_source]["json"] = '''[{"bool":false,"tinyint":-128,"smallint":-32768,"int":-2147483648,"bigin |
| HIGH | tools/shell/tests/test_rendering_mode_regression.py | 1283 | {"bool":true,"tinyint":127,"smallint":32767,"int":2147483647,"bigint":9223372036854775807,"hugeint":"1701411834604692317 |
| HIGH | tools/shell/tests/test_rendering_mode_regression.py | 1284 | {"bool":null,"tinyint":null,"smallint":null,"int":null,"bigint":null,"hugeint":null,"uhugeint":null,"utinyint":null,"usm |
| HIGH | tools/shell/tests/test_rendering_mode_regression.py | 1287 | expected_results[all_types_source]["jsonlines"] = '''{"bool":false,"tinyint":-128,"smallint":-32768,"int":-2147483648,"b |
| HIGH | tools/shell/tests/test_rendering_mode_regression.py | 1288 | {"bool":true,"tinyint":127,"smallint":32767,"int":2147483647,"bigint":9223372036854775807,"hugeint":"1701411834604692317 |
| HIGH | tools/shell/tests/test_rendering_mode_regression.py | 1289 | {"bool":null,"tinyint":null,"smallint":null,"int":null,"bigint":null,"hugeint":null,"uhugeint":null,"utinyint":null,"usm |
| HIGH | scripts/generate_util.py | 593 | # Non-nullable: const accessor returns const ParsedExpression& directly (assume non-null) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/shell/tests/test_rendering_mode_regression.py | 12 | |
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 800 | |
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 694 | |
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 747 | |
| LOW | tools/juliapkg/scripts/generate_c_api.py | 71 | |
| LOW | tools/juliapkg/scripts/generate_c_api.py | 117 | |
| LOW | test/bwc/runner.py | 181 | |
| LOW | test/bwc/runner.py | 283 | |
| LOW | test/bwc/export_cache.py | 65 | |
| LOW | test/bwc/utils/test_files_parser.py | 208 | |
| LOW | test/bwc/utils/test_files_parser.py | 420 | |
| LOW | test/bwc/utils/duckdb_cli.py | 143 | |
| LOW | test/bwc/utils/duckdb_installer.py | 85 | |
| LOW | scripts/amalgamation.py | 37 | |
| LOW | scripts/sync_out_of_tree_extensions.py | 41 | |
| LOW | scripts/sync_out_of_tree_extensions.py | 287 | |
| LOW | scripts/sync_out_of_tree_extensions.py | 408 | |
| LOW | scripts/generate_extensions_function.py | 103 | |
| LOW | scripts/test_peg_parser.py | 38 | |
| LOW | scripts/test_peg_parser.py | 110 | |
| LOW | scripts/generate_util.py | 147 | |
| LOW | scripts/generate_util.py | 741 | |
| LOW | scripts/package_build.py | 253 | |
| LOW | scripts/package_build.py | 438 | |
| LOW | scripts/run-clang-tidy.py | 164 | |
| LOW | scripts/create_patch.py | 73 | |
| LOW | scripts/create_patch.py | 93 | |
| LOW | scripts/test_benchmark_sql_runner.py | 42 | |
| LOW | scripts/generate_serialization.py | 690 | |
| LOW | scripts/generate_serialization.py | 428 | |
| LOW | scripts/test_zero_initialize.py | 79 | |
| LOW | scripts/cleanup_config_skip_tests.py | 27 | |
| LOW | scripts/test_serialization_bwc.py | 26 | |
| LOW | scripts/test_serialization_bwc.py | 168 | |
| LOW | scripts/ccache_workflow_summary.py | 175 | |
| LOW | scripts/clang-tidy-diff.py | 52 | |
| LOW | scripts/generate_c_api.py | 172 | |
| LOW | scripts/generate_c_api.py | 217 | |
| LOW | scripts/generate_c_api.py | 247 | |
| LOW | scripts/generate_c_api.py | 266 | |
| LOW | scripts/generate_c_api.py | 301 | |
| LOW | scripts/generate_c_api.py | 476 | |
| LOW | scripts/generate_c_api.py | 557 | |
| LOW | scripts/generate_c_api.py | 688 | |
| LOW | scripts/generate_c_api.py | 813 | |
| LOW | scripts/generate_functions.py | 38 | |
| LOW | scripts/generate_functions.py | 123 | |
| LOW | scripts/ci/run_tests.py | 208 | |
| LOW | scripts/ci/run_tests.py | 403 | |
| LOW | scripts/ci/run_tests.py | 666 | |
| LOW | scripts/ci/run_tests.py | 898 | |
| LOW | scripts/ci/test_run_tests.py | 30 | |
| LOW | scripts/ci/test_job_stages.py | 25 | |
| LOW | scripts/parser/generate_transformer.py | 42 | |
| LOW | scripts/parser/generate_transformer.py | 112 | |
| LOW | scripts/parser/generate_transformer.py | 146 | |
| LOW | scripts/parser/generate_transformer.py | 278 | |
| LOW | scripts/parser/inline_grammar.py | 148 | |
| LOW | scripts/parser/inline_grammar.py | 318 | |
| LOW | scripts/parser/gen_transformer_v2.py | 90 | |
| 7 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | extension/icu/third_party/icu/common/locmap.cpp | 1173 | // The purpose of this function is to leverage the Windows platform name->lcid |
| LOW | extension/icu/third_party/icu/common/unicode/platform.h | 62 | * Solution: #define any defines for non @internal API here, so that they are visible in the docs. If you just set PRED |
| MEDIUM | extension/icu/third_party/icu/i18n/decNumberLocal.h | 48 | #define DECCHECK 0 /* 1 to enable robust checking */ |
| LOW | extension/icu/third_party/icu/i18n/dtptngen.cpp | 1299 | // in #13183 just add b/B to skeleton, no longer need to set special flags |
| MEDIUM | third_party/httplib/httplib.hpp | 9131 | // Cross-host/scheme redirect - create new client with robust setup |
| MEDIUM | third_party/httplib/httplib.hpp | 9136 | // New method for robust redirect client creation |
| MEDIUM | third_party/httplib/httplib.hpp | 9204 | // Setup client with robust configuration |
| MEDIUM | third_party/httplib/httplib.hpp | 9212 | // New method for robust client setup (based on basic_manual_redirect.cpp |
| MEDIUM | third_party/re2/re2/prefilter_tree.h | 114 | // These are all the nodes formed by Compile. Essentially, there is |
| LOW | examples/python/duckdb-python.py | 180 | # or just use df(), a shorthand for fetchdf() on query results |
| LOW | scripts/generate_extensions_function.py | 137 | # Otherwise, just add the character if we're inside braces. |
| MEDIUM | …nclude/duckdb/parser/parsed_data/create_macro_info.hpp | 29 | //! Essentially we used to only support a single function in the CreateMacroInfo |
| MEDIUM | src/function/table/direct_file_reader.cpp | 64 | // We utilize projection pushdown here to only read the file content if the 'data' column is requested |
| MEDIUM | src/function/table/direct_file_reader.cpp | 86 | // We utilize projection pushdown to avoid potentially expensive fs operations. |
| MEDIUM | src/execution/operator/join/physical_iejoin.cpp | 1853 | // We can't leverage any more threads than tasks. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …es/3. Visualizing Data.xcplaygroundpage/Contents.swift | 31 | ## Step 1: Extracting Data |
| LOW | …es/3. Visualizing Data.xcplaygroundpage/Contents.swift | 120 | ## Step 2: Making Charts |
| LOW | …ges/2. Getting Started.xcplaygroundpage/Contents.swift | 36 | ## Step 1: Fetching Data |
| LOW | …ges/2. Getting Started.xcplaygroundpage/Contents.swift | 79 | ## Step 2: Rendering Data |
| LOW | extension/json/json_reader.cpp | 856 | // we need to check if there is data available within our current reader |
| LOW | extension/icu/icu_extension.cpp | 264 | // Step 1: Strip leading zeros |
| LOW | extension/icu/icu_extension.cpp | 271 | // Step 2: Parse hours based on whether colon is present |
| LOW | extension/icu/third_party/icu/common/locmap.cpp | 1173 | // The purpose of this function is to leverage the Windows platform name->lcid |
| LOW | extension/icu/third_party/icu/i18n/dtptngen.cpp | 685 | // We need to check if there is an hour cycle on locale |
| LOW | extension/icu/third_party/icu/i18n/tzgnames.cpp | 948 | // then we need to check if the name is same with the location name. |
| LOW | third_party/catch/catch.hpp | 12786 | // No children have started. We need to check if they _can_ |
| LOW | src/function/table/arrow_conversion.cpp | 1394 | //! We need to check if our indexes fit in a uint32_t |
| LOW | src/function/table/arrow_conversion.cpp | 1402 | //! We need to check if our indexes fit in a uint32_t |
| LOW | src/execution/sample/base_reservoir_sample.cpp | 31 | //! first we need to check if the reservoir already has "m" elements |
| LOW | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 611 | // Step 1: Generate state machines |
| LOW | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 613 | // Step 2: Analyze all candidates on the first chunk |
| LOW | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 617 | // Step 3: Loop over candidates and find if they can still produce good results for the remaining chunks |
| LOW | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 894 | // We need to check if we are getting the correct number of columns here. |
| LOW | src/main/database_manager.cpp | 389 | // If we are loading a database type from an extension, then we need to check if that extension is loaded. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/shell/tests/test_autocomplete.py | 304 | # Create the files |
| MEDIUM | tools/juliapkg/scripts/generate_c_api_julia.py | 700 | self._analyze_types(function_groups) # Create the julia type map |
| MEDIUM | test/bwc/runner.py | 332 | # Create the report database |
| MEDIUM | third_party/mbedtls/mbedtls_wrapper.cpp | 27 | # Create a new key |
| MEDIUM | scripts/regression_test_python.py | 340 | # Create the DataFrame with the specified data and column type as object |
| MEDIUM | scripts/generate_c_api.py | 37 | # Define the extension struct |
| MEDIUM | scripts/generate_c_api.py | 765 | # Create the versioning defines |
| MEDIUM | scripts/regression/benchmark.py | 68 | # Define the arguments |
| MEDIUM | scripts/regression/benchmark.py | 86 | # Create an instance of BenchmarkRunnerConfig using parsed arguments |
| MEDIUM | scripts/regression/test_runner.py | 37 | # Define the arguments |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …/icu/third_party/icu/i18n/double-conversion-bignum.cpp | 434 | // Don't forget to update the used_digits and the exponent. |
| MEDIUM | extension/icu/third_party/icu/i18n/unicode/dtfmtsym.h | 68 | * DateFormatSymbols object, they can feel free to modify the date-time |
| MEDIUM | extension/icu/third_party/icu/i18n/unicode/dtitvinf.h | 146 | * they can feel free to modify it as necessary. |
| LOW | extension/icu/scripts/makedata.sh | 37 | # build the data, make sure to create "filters.json" first, see above |
| LOW | third_party/thrift/thrift/transport/TBufferTransports.h | 481 | // Don't forget to update constrctors, initCommon, and swap if |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 443 | # Check if the argument is (likely) an index |
| LOW | test/bwc/utils/test_report.py | 75 | # Check if `self.comparison_results_file_name` exists |
| LOW | test/bwc/utils/duckdb_installer.py | 20 | # Check if the cli already exists |
| LOW | scripts/merge_vcpkg_deps.py | 88 | # Print output |
| LOW | scripts/generate_serialization.py | 813 | # Check if is a templated class |
| LOW | scripts/cleanup_config_skip_tests.py | 44 | # Check if this config inherits from another |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/shell/tests/test_read_from_stdin.py | 200 | |
| MEDIUM | tools/shell/tests/test_read_from_stdin.py | 221 | |
| MEDIUM | tools/shell/tests/test_read_from_stdin.py | 222 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | CONTRIBUTING.md | 132 | Please do not submit pull requests generated by AI (LLMs). |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/shell/tests/test_large_value_rendering.py | 11 | long_string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et do |
| LOW | tools/shell/tests/test_large_value_rendering.py | 11 | long_string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et do |
| LOW | src/include/duckdb/function/scalar/string_functions.hpp | 362 | static constexpr const char *Example = "regexp_extract('abcde', '[a-z]{3}')\001regexp_extract('abc', '([a-z])(b)', 1)\0 |
| LOW | src/function/scalar/string/functions.json | 362 | "example": "regexp_extract('John Doe', '([a-z]+) ([a-z]+)', ['first_name', 'last_name'], 'i')", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | extension/icu/third_party/icu/common/ucase.cpp | 1448 | # Usage: |
| LOW | scripts/generate_extensions_function.py | 15 | # Example usage: |