Skip to content

Commit 1c3db56

Browse files
authored
Merge branch 'main' into feat/ffi-skill
2 parents 6c47cf4 + 50d74a7 commit 1c3db56

112 files changed

Lines changed: 8958 additions & 1765 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.asf.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ github:
9797
branch-52:
9898
required_pull_request_reviews:
9999
required_approving_review_count: 1
100+
branch-53:
101+
required_pull_request_reviews:
102+
required_approving_review_count: 1
103+
branch-54:
104+
required_pull_request_reviews:
105+
required_approving_review_count: 1
100106
pull_requests:
101107
# enable updating head branches of pull requests
102108
allow_update_branch: true

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
steps:
4646
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4747
- name: Install cargo-audit
48-
uses: taiki-e/install-action@c070f87102a1c75b3183910f391c1cb887fe13c8 # v2.77.6
48+
uses: taiki-e/install-action@213ccc1a076163c093f914550b94feb90fab916d # v2.79.2
4949
with:
5050
tool: cargo-audit
5151
- name: Run audit check

.github/workflows/breaking_changes_detector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
9090
- name: Install cargo-semver-checks
9191
if: steps.changed_crates.outputs.packages != ''
92-
uses: taiki-e/install-action@c070f87102a1c75b3183910f391c1cb887fe13c8 # v2.77.6
92+
uses: taiki-e/install-action@213ccc1a076163c093f914550b94feb90fab916d # v2.79.2
9393
with:
9494
tool: cargo-semver-checks
9595

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545
persist-credentials: false
4646

4747
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4
48+
uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4
4949
with:
5050
languages: actions
5151

5252
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4
53+
uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4
5454
with:
5555
category: "/language:actions"

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
source ci/scripts/utils/tool_versions.sh
6565
echo "LYCHEE_VERSION=${LYCHEE_VERSION}" >> "$GITHUB_ENV"
6666
- name: Install lychee
67-
uses: taiki-e/install-action@c070f87102a1c75b3183910f391c1cb887fe13c8 # v2.77.6
67+
uses: taiki-e/install-action@213ccc1a076163c093f914550b94feb90fab916d # v2.79.2
6868
with:
6969
tool: lychee@${{ env.LYCHEE_VERSION }}
7070
- name: Run markdown link check

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ jobs:
429429
sudo apt-get update -qq
430430
sudo apt-get install -y -qq clang
431431
- name: Setup wasm-pack
432-
uses: taiki-e/install-action@c070f87102a1c75b3183910f391c1cb887fe13c8 # v2.77.6
432+
uses: taiki-e/install-action@213ccc1a076163c093f914550b94feb90fab916d # v2.79.2
433433
with:
434434
tool: wasm-pack
435435
- name: Run tests with headless mode
@@ -774,7 +774,7 @@ jobs:
774774
- name: Setup Rust toolchain
775775
uses: ./.github/actions/setup-builder
776776
- name: Install cargo-msrv
777-
uses: taiki-e/install-action@c070f87102a1c75b3183910f391c1cb887fe13c8 # v2.77.6
777+
uses: taiki-e/install-action@213ccc1a076163c093f914550b94feb90fab916d # v2.79.2
778778
with:
779779
tool: cargo-msrv
780780

Cargo.lock

Lines changed: 57 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

datafusion-examples/examples/custom_data_source/adapter_serialization.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ impl PhysicalExtensionCodec for AdapterPreservingCodec {
275275
buf: &[u8],
276276
inputs: &[Arc<dyn ExecutionPlan>],
277277
_ctx: &TaskContext,
278+
_proto_converter: &dyn PhysicalProtoConverterExtension,
278279
) -> Result<Arc<dyn ExecutionPlan>> {
279280
// Try to parse as our extension payload
280281
if let Ok(payload) = serde_json::from_slice::<ExtensionPayload>(buf)
@@ -303,6 +304,7 @@ impl PhysicalExtensionCodec for AdapterPreservingCodec {
303304
&self,
304305
_node: Arc<dyn ExecutionPlan>,
305306
_buf: &mut Vec<u8>,
307+
_proto_converter: &dyn PhysicalProtoConverterExtension,
306308
) -> Result<()> {
307309
// We don't need this for the example - adapter wrapping happens in
308310
// `execution_plan_to_proto` instead.

datafusion-examples/examples/proto/composed_extension_codec.rs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ use datafusion::physical_plan::{DisplayAs, ExecutionPlan};
4343
use datafusion::prelude::SessionContext;
4444
use datafusion_proto::physical_plan::{
4545
AsExecutionPlan, ComposedPhysicalExtensionCodec, PhysicalExtensionCodec,
46+
PhysicalProtoConverterExtension,
4647
};
4748
use datafusion_proto::protobuf;
4849

@@ -145,6 +146,7 @@ impl PhysicalExtensionCodec for ParentPhysicalExtensionCodec {
145146
buf: &[u8],
146147
inputs: &[Arc<dyn ExecutionPlan>],
147148
_ctx: &TaskContext,
149+
_proto_converter: &dyn PhysicalProtoConverterExtension,
148150
) -> Result<Arc<dyn ExecutionPlan>> {
149151
if buf == "ParentExec".as_bytes() {
150152
Ok(Arc::new(ParentExec {
@@ -155,7 +157,12 @@ impl PhysicalExtensionCodec for ParentPhysicalExtensionCodec {
155157
}
156158
}
157159

158-
fn try_encode(&self, node: Arc<dyn ExecutionPlan>, buf: &mut Vec<u8>) -> Result<()> {
160+
fn try_encode(
161+
&self,
162+
node: Arc<dyn ExecutionPlan>,
163+
buf: &mut Vec<u8>,
164+
_proto_converter: &dyn PhysicalProtoConverterExtension,
165+
) -> Result<()> {
159166
if node.is::<ParentExec>() {
160167
buf.extend_from_slice("ParentExec".as_bytes());
161168
Ok(())
@@ -226,6 +233,7 @@ impl PhysicalExtensionCodec for ChildPhysicalExtensionCodec {
226233
buf: &[u8],
227234
_inputs: &[Arc<dyn ExecutionPlan>],
228235
_ctx: &TaskContext,
236+
_proto_converter: &dyn PhysicalProtoConverterExtension,
229237
) -> Result<Arc<dyn ExecutionPlan>> {
230238
if buf == "ChildExec".as_bytes() {
231239
Ok(Arc::new(ChildExec {}))
@@ -234,7 +242,12 @@ impl PhysicalExtensionCodec for ChildPhysicalExtensionCodec {
234242
}
235243
}
236244

237-
fn try_encode(&self, node: Arc<dyn ExecutionPlan>, buf: &mut Vec<u8>) -> Result<()> {
245+
fn try_encode(
246+
&self,
247+
node: Arc<dyn ExecutionPlan>,
248+
buf: &mut Vec<u8>,
249+
_proto_converter: &dyn PhysicalProtoConverterExtension,
250+
) -> Result<()> {
238251
if node.is::<ChildExec>() {
239252
buf.extend_from_slice("ChildExec".as_bytes());
240253
Ok(())

datafusion-examples/examples/proto/expression_deduplication.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ impl PhysicalExtensionCodec for CachingCodec {
187187
_buf: &[u8],
188188
_inputs: &[Arc<dyn ExecutionPlan>],
189189
_ctx: &TaskContext,
190+
_proto_converter: &dyn PhysicalProtoConverterExtension,
190191
) -> Result<Arc<dyn ExecutionPlan>> {
191192
datafusion::common::not_impl_err!("No custom extension nodes")
192193
}
@@ -196,6 +197,7 @@ impl PhysicalExtensionCodec for CachingCodec {
196197
&self,
197198
_node: Arc<dyn ExecutionPlan>,
198199
_buf: &mut Vec<u8>,
200+
_proto_converter: &dyn PhysicalProtoConverterExtension,
199201
) -> Result<()> {
200202
datafusion::common::not_impl_err!("No custom extension nodes")
201203
}

0 commit comments

Comments
 (0)