Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
588f914
[AURON #1482] Support native avg result cast to return type (#1483)
Tartarus0zm Oct 21, 2025
bd6c474
Bump tikv-jemalloc-ctl from 0.6.0 to 0.6.1 (#1467)
dependabot[bot] Oct 21, 2025
541a6a9
Bump foldhash from 0.1.5 to 0.2.0 (#1466)
dependabot[bot] Oct 21, 2025
94f3b71
Bump procfs from 0.17.0 to 0.18.0 (#1465)
dependabot[bot] Oct 21, 2025
c3144b8
[AURON #1488] Remove isDriverSide method from JniBridge (#1489)
Tartarus0zm Oct 22, 2025
fd63231
[AURON #1493] Remove unused getSparkEnvConfAsString method from JniBr…
Tartarus0zm Oct 22, 2025
d34c384
Bump bigdecimal from 0.4.8 to 0.4.9 (#1475)
dependabot[bot] Oct 22, 2025
6ee7b2e
[AURON #1496] Introduce SparkOnHeapSpillManager (#1497)
Tartarus0zm Oct 22, 2025
30ae710
Bump tikv-jemallocator from 0.6.0 to 0.6.1 (#1495)
dependabot[bot] Oct 22, 2025
327b9dd
[AURON #1473] Rename module spark-extension-shims-spark3 to spark-ext…
slfan1989 Oct 23, 2025
8b3ee76
[AURON #1491]Add work flow for paimon #1491 (#1490)
guixiaowen Oct 24, 2025
4cfc472
split memory manager to module auron-memmgr (#1506)
richox Oct 24, 2025
2e33818
Bump byte-buddy from 1.12.10 to 1.14.11. (#1505)
slfan1989 Oct 24, 2025
30ca81c
[AURON #1498] Enable the JniBridge in the auron-core module (#1499)
Tartarus0zm Oct 24, 2025
4f5854b
[AURON #1507] Enable AuronAdaptor#getAuronUDFWrapperContext for spark…
Tartarus0zm Oct 24, 2025
3eb0e73
[AURON #1509] Deprecated JniBridge and AuronCallNativeWrapper under t…
Tartarus0zm Oct 27, 2025
91ff79a
[AURON #1525] Fallback outputs the exception stack when the log level…
cxzl25 Oct 27, 2025
4e6c2dc
[AURON #1442] Fix `BuildinfoInSparkUISuite.scala` failure due to miss…
merrily01 Oct 27, 2025
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
67 changes: 67 additions & 0 deletions .github/workflows/paimon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#
# 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.
#

name: Paimon

on:
workflow_dispatch:
push:
branches:
- master
- branch-*
pull_request:
branches:
- master
- branch-*

concurrency:
group: paimon-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test-flink:
name: Test Paimon ${{ matrix.paimon }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
paimon: [ "1.2" ]
javaver: [ "8" ]
scalaver: [ "2.12" ]
module: [ "thirdparty/auron-paimon" ]
sparkver: [ "spark-3.5" ]

steps:
- name: Checkout Auron
uses: actions/checkout@v4

- name: Setup Java and Maven cache
uses: actions/setup-java@v4
with:
distribution: 'adopt-hotspot'
java-version: ${{ matrix.javaver }}
cache: 'maven'

- name: Test Paimon Module
run: ./build/mvn -B test -pl ${{ matrix.module }} -am -Pscala-${{ matrix.scalaver }} -Ppaimon-${{ matrix.paimon }} -P${{ matrix.sparkver }} -Prelease

- name: Upload reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.module }}-test-report
path: ${{ matrix.module }}/target/surefire-reports
73 changes: 43 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ members = [
"native-engine/auron",
"native-engine/auron-jni-bridge",
"native-engine/auron-serde",
"native-engine/auron-memmgr",
]

[profile.release]
Expand All @@ -48,6 +49,7 @@ overflow-checks = false
auron = { path = "./native-engine/auron" }
auron-jni-bridge = { path = "./native-engine/auron-jni-bridge" }
auron-serde = { path = "./native-engine/auron-serde" }
auron-memmgr = { path = "./native-engine/auron-memmgr" }
datafusion-ext-commons = { path = "./native-engine/datafusion-ext-commons" }
datafusion-ext-exprs = { path = "./native-engine/datafusion-ext-exprs" }
datafusion-ext-functions = { path = "./native-engine/datafusion-ext-functions" }
Expand Down Expand Up @@ -75,14 +77,14 @@ serde_json = { version = "1.0.96" }
# other dependencies
async-trait = "0.1.89"
base64 = "0.22.1"
bigdecimal = "0.4.8"
bigdecimal = "0.4.9"
bitvec = "1.0.1"
byteorder = "1.5.0"
bytes = "1.10.1"
bytesize = "2.1.0"
chrono = "0.4.42"
count-write = "0.1.0"
foldhash = "0.1.5"
foldhash = "0.2.0"
futures = "0.3"
futures-util = "0.3.31"
hashbrown = "0.14.5"
Expand All @@ -96,7 +98,7 @@ once_cell = "1.21.3"
panic-message = "0.3.0"
parking_lot = "0.12.5"
paste = "1.0.15"
procfs = "0.17.0"
procfs = "0.18.0"
prost = "0.14.1"
rand = "0.9.2"
smallvec = "2.0.0-alpha.11"
Expand Down
21 changes: 6 additions & 15 deletions auron-core/src/main/java/org/apache/auron/jni/AuronAdaptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
package org.apache.auron.jni;

import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.apache.auron.configuration.AuronConfiguration;
Expand Down Expand Up @@ -84,29 +83,21 @@ public boolean isTaskRunning() {
* @return Absolute path of the created temporary file.
* @throws IOException If the temporary file cannot be created.
*/
public String getDirectWriteSpillToDiskFile() throws IOException {
File tempFile = File.createTempFile("auron-spill-", ".tmp");
tempFile.deleteOnExit();
return tempFile.getAbsolutePath();
}
public abstract String getDirectWriteSpillToDiskFile() throws IOException;

/**
* Retrieves the context classloader of the current thread.
*
* @return The context classloader of the current thread.
* @return For Spark, return TaskContext of the current thread.
*/
public Object getThreadContext() {
return Thread.currentThread().getContextClassLoader();
}
public abstract Object getThreadContext();

/**
* Sets the context classloader for the current thread.
* Sets the context for the current thread.
*
* @param context The classloader to set as the context classloader.
* @param context For spark is TaskContext.
*/
public void setThreadContext(Object context) {
Thread.currentThread().setContextClassLoader((ClassLoader) context);
}
public abstract void setThreadContext(Object context);

/**
* Retrieves the on-heap spill manager implementation.
Expand Down
Loading
Loading