Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,16 @@ jobs:
- name: Set search dir for Snowflake Go lib
run: echo "ADBC_SNOWFLAKE_GO_LIB_DIR=${{ github.workspace }}/local/lib" >> "$GITHUB_ENV"
- name: Clippy
if: ${{ ! matrix.minimal-versions }}
if: runner.os != 'Linux' && ! matrix.minimal-versions
working-directory: rust
run: |
cargo clippy --workspace --all-targets --all-features --locked -- -Dwarnings
- name: Clippy (nightly)
if: runner.os == 'Linux' && ! matrix.minimal-versions
working-directory: rust
run: |
rustup toolchain install nightly --component clippy
cargo +nightly clippy --workspace --all-targets --all-features --locked -- -Dwarnings -Zcrate-attr='feature(non_exhaustive_omitted_patterns_lint)'
- name: Test
working-directory: rust
# TODO: enable snowflake tests on windows
Expand Down
1 change: 0 additions & 1 deletion rust/core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ use arrow_schema::ArrowError;

/// Status of an operation.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum Status {
/// No error.
Ok,
Expand Down
4 changes: 0 additions & 4 deletions rust/core/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ impl TryFrom<u32> for InfoCode {

/// Depth parameter for [get_objects][crate::Connection::get_objects] method.
#[derive(Debug)]
#[non_exhaustive]
pub enum ObjectDepth {
/// Catalogs, schemas, tables, and columns.
All,
Expand Down Expand Up @@ -462,7 +461,6 @@ impl From<&str> for OptionStatement {

/// Isolation level value for key [OptionConnection::IsolationLevel].
#[derive(Debug)]
#[non_exhaustive]
pub enum IsolationLevel {
/// Use database or driver default isolation level.
Default,
Expand Down Expand Up @@ -538,7 +536,6 @@ impl From<IsolationLevel> for OptionValue {

/// Ingestion mode value for key [OptionStatement::IngestMode].
#[derive(Debug)]
#[non_exhaustive]
pub enum IngestMode {
/// Create the table and insert data; error if the table exists.
Create,
Expand Down Expand Up @@ -581,7 +578,6 @@ impl From<IngestMode> for OptionValue {

/// Statistics about the data distribution.
#[derive(Debug, Clone)]
#[non_exhaustive]
pub enum Statistics {
/// The average byte width statistic. The average size in bytes of a row in
/// the column. Value type is `float64`. For example, this is roughly the
Expand Down
Loading