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/parquet-variant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ jobs:
submodules: true
- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
- name: Test
- name: Test parquet-variant
run: cargo test -p parquet-variant
- name: Test parquet-variant-json
run: cargo test -p parquet-variant-json

# test compilation
linux-features:
Expand All @@ -63,6 +65,8 @@ jobs:
uses: ./.github/actions/setup-builder
- name: Check compilation
run: cargo check -p parquet-variant
- name: Check compilation
run: cargo check -p parquet-variant-json

clippy:
name: Clippy
Expand All @@ -77,3 +81,5 @@ jobs:
run: rustup component add clippy
- name: Run clippy
run: cargo clippy -p parquet-variant --all-targets --all-features -- -D warnings
- name: Run clippy
run: cargo clippy -p parquet-variant-json --all-targets --all-features -- -D warnings
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ members = [
"arrow-string",
"parquet",
"parquet-variant",
"parquet-variant-json",
"parquet_derive",
"parquet_derive_test",
]
Expand Down Expand Up @@ -99,6 +100,10 @@ arrow-select = { version = "55.2.0", path = "./arrow-select" }
arrow-string = { version = "55.2.0", path = "./arrow-string" }
parquet = { version = "55.2.0", path = "./parquet", default-features = false }

# These crates have not yet been released and thus do not use the workspace version
parquet-variant = { version = "0.1.0", path = "./parquet-variant"}
parquet-variant-json = { version = "0.1.0", path = "./parquet-variant-json" }

chrono = { version = "0.4.40", default-features = false, features = ["clock"] }

# release inherited profile keeping debug information and symbols
Expand Down
49 changes: 49 additions & 0 deletions parquet-variant-json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

[package]
name = "parquet-variant-json"
# This package is still in development and thus the version does
# not follow the versions of the rest of the crates in this repo.
version = "0.1.0"
license = { workspace = true }
description = "Apache Parquet Variant to/from JSON"
homepage = { workspace = true }
repository = { workspace = true }
authors = { workspace = true }
keywords = ["arrow", "parquet", "variant"]
readme = "README.md"
edition = { workspace = true }
# needs a newer version than workspace due to
# rror: `Option::<T>::unwrap` is not yet stable as a const fn
rust-version = "1.83"


[dependencies]
arrow-schema = { workspace = true }
parquet-variant = { path = "../parquet-variant" }
chrono = { workspace = true }
serde_json = "1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idea being, this new crate can take an unapologetic dependency on serde-json, right?

base64 = "0.22"


[lib]
name = "parquet_variant_json"
bench = false

[dev-dependencies]

Loading
Loading