Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Validate schema for SQLite connections #209

Merged
merged 9 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: Clippy
  • Loading branch information
peasee committed Dec 30, 2024
commit 6942d0b1e658136ed55c8e145256a3e4ce0ce3f7
2 changes: 2 additions & 0 deletions src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub mod indexes;
pub mod ns_lookup;
pub mod on_conflict;
pub mod retriable_error;

#[cfg(any(feature = "sqlite", feature = "duckdb"))]
pub mod schema;
pub mod secrets;
pub mod test;
Expand Down
1 change: 0 additions & 1 deletion src/util/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::sync::Arc;
use super::handle_invalid_type_error;
use crate::sql::db_connection_pool::dbconnection::Error as DbConnectionError;
use crate::InvalidTypeAction;
#[cfg(any(feature = "sqlite", feature = "duckdb"))]
use arrow_schema::{DataType, Field, SchemaBuilder};
use datafusion::arrow::datatypes::SchemaRef;

Expand Down
Loading