File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
core/src/datasource/file_format Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,10 @@ jobs:
259259 uses : ./.github/actions/setup-builder
260260 with :
261261 rust-version : stable
262+ - name : Install dependencies
263+ run : |
264+ apt-get update -qq
265+ apt-get install -y -qq clang
262266 - name : Install wasm-pack
263267 run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
264268 - name : Build with wasm-pack
Original file line number Diff line number Diff line change @@ -469,7 +469,6 @@ impl FileFormat for ParquetFormat {
469469}
470470
471471/// Coerces the file schema if the table schema uses a view type.
472- #[ cfg( not( target_arch = "wasm32" ) ) ]
473472pub fn coerce_file_schema_to_view_type (
474473 table_schema : & Schema ,
475474 file_schema : & Schema ,
@@ -519,7 +518,6 @@ pub fn coerce_file_schema_to_view_type(
519518/// If the table schema uses a string type, coerce the file schema to use a string type.
520519///
521520/// See [ParquetFormat::binary_as_string] for details
522- #[ cfg( not( target_arch = "wasm32" ) ) ]
523521pub fn coerce_file_schema_to_string_type (
524522 table_schema : & Schema ,
525523 file_schema : & Schema ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ chrono = { version = "0.4", features = ["wasmbind"] }
4545# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
4646# code size when deploying.
4747console_error_panic_hook = { version = " 0.1.1" , optional = true }
48- datafusion = { workspace = true }
48+ datafusion = { workspace = true , features = [ " parquet " ] }
4949datafusion-common = { workspace = true , default-features = true }
5050datafusion-execution = { workspace = true }
5151datafusion-expr = { workspace = true }
You can’t perform that action at this time.
0 commit comments