Skip to content

Conversation

@jathavaan
Copy link
Collaborator

This pull request introduces a minor but important configuration change to the DuckDB context setup. The main update is the explicit setting of the Azure transport option, which can help ensure compatibility and stability when connecting to Azure Blob Storage.

@jathavaan jathavaan self-assigned this Nov 18, 2025
Copilot AI review requested due to automatic review settings November 18, 2025 08:33
@jathavaan jathavaan merged commit 81ac295 into main Nov 18, 2025
2 checks passed
@jathavaan jathavaan deleted the origin/bugfix/42-problem-with-ssl-ca-cert branch November 18, 2025 08:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds explicit configuration of the Azure transport option for DuckDB when connecting to Azure Blob Storage. The change sets the azure_transport_option_type to curl, which helps ensure compatibility and stability with Azure storage operations.

  • Adds azure_transport_option_type configuration to the DuckDB context setup
  • Configures the transport layer to use curl for Azure connections

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

);
""", [Config.BLOB_STORAGE_CONNECTION_STRING])

db_context.execute("SET azure_transport_option_type = curl")
Copy link

Copilot AI Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value curl should be enclosed in quotes to be treated as a string literal in the SQL SET statement. The correct syntax should be:

db_context.execute("SET azure_transport_option_type = 'curl'")

Without quotes, DuckDB may interpret curl as an identifier rather than a string value, which could cause a runtime error.

Suggested change
db_context.execute("SET azure_transport_option_type = curl")
db_context.execute("SET azure_transport_option_type = 'curl'")

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant