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
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ jobs:
uses: ./.github/actions/setup-builder
with:
rust-version: stable
- name: Install dependencies
run: |
apt-get update -qq
apt-get install -y -qq clang
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build with wasm-pack
Expand Down
2 changes: 0 additions & 2 deletions datafusion/core/src/datasource/file_format/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ impl FileFormat for ParquetFormat {
}

/// Coerces the file schema if the table schema uses a view type.
#[cfg(not(target_arch = "wasm32"))]
pub fn coerce_file_schema_to_view_type(
table_schema: &Schema,
file_schema: &Schema,
Expand Down Expand Up @@ -519,7 +518,6 @@ pub fn coerce_file_schema_to_view_type(
/// If the table schema uses a string type, coerce the file schema to use a string type.
///
/// See [ParquetFormat::binary_as_string] for details
#[cfg(not(target_arch = "wasm32"))]
pub fn coerce_file_schema_to_string_type(
table_schema: &Schema,
file_schema: &Schema,
Expand Down
2 changes: 1 addition & 1 deletion datafusion/wasmtest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ chrono = { version = "0.4", features = ["wasmbind"] }
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.1", optional = true }
datafusion = { workspace = true }
datafusion = { workspace = true, features = ["parquet"] }
datafusion-common = { workspace = true, default-features = true }
datafusion-execution = { workspace = true }
datafusion-expr = { workspace = true }
Expand Down