File tree 3 files changed +5
-3
lines changed
core/src/datasource/file_format
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,10 @@ jobs:
259
259
uses : ./.github/actions/setup-builder
260
260
with :
261
261
rust-version : stable
262
+ - name : Install dependencies
263
+ run : |
264
+ apt-get update -qq
265
+ apt-get install -y -qq clang
262
266
- name : Install wasm-pack
263
267
run : curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
264
268
- name : Build with wasm-pack
Original file line number Diff line number Diff line change @@ -469,7 +469,6 @@ impl FileFormat for ParquetFormat {
469
469
}
470
470
471
471
/// Coerces the file schema if the table schema uses a view type.
472
- #[ cfg( not( target_arch = "wasm32" ) ) ]
473
472
pub fn coerce_file_schema_to_view_type (
474
473
table_schema : & Schema ,
475
474
file_schema : & Schema ,
@@ -519,7 +518,6 @@ pub fn coerce_file_schema_to_view_type(
519
518
/// If the table schema uses a string type, coerce the file schema to use a string type.
520
519
///
521
520
/// See [ParquetFormat::binary_as_string] for details
522
- #[ cfg( not( target_arch = "wasm32" ) ) ]
523
521
pub fn coerce_file_schema_to_string_type (
524
522
table_schema : & Schema ,
525
523
file_schema : & Schema ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ chrono = { version = "0.4", features = ["wasmbind"] }
45
45
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
46
46
# code size when deploying.
47
47
console_error_panic_hook = { version = " 0.1.1" , optional = true }
48
- datafusion = { workspace = true }
48
+ datafusion = { workspace = true , features = [ " parquet " ] }
49
49
datafusion-common = { workspace = true , default-features = true }
50
50
datafusion-execution = { workspace = true }
51
51
datafusion-expr = { workspace = true }
You can’t perform that action at this time.
0 commit comments