Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzelin committed Nov 26, 2024
1 parent d6fc984 commit 70ff48f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-java-bridge-licensing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
- name: Build
run: |
set -o pipefail
cd paimon_python_java/paimon-python-java-bridge
cd pypaimon/py4j/paimon-python-java-bridge
mvn clean deploy ${{ env.MVN_COMMON_OPTIONS }} -DskipTests \
-DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
| tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
- name: Check licensing
run: |
cd paimon_python_java/paimon-python-java-bridge
cd pypaimon/py4j/paimon-python-java-bridge
mvn ${{ env.MVN_COMMON_OPTIONS }} exec:java@check-licensing -N \
-Dexec.args="${{ env.MVN_BUILD_OUTPUT_FILE }} $(pwd) ${{ env.MVN_VALIDATION_DIR }}" \
-Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties
Expand Down
7 changes: 4 additions & 3 deletions pypaimon/py4j/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
################################################################################

from .util import constants
from .java_implementation import (Catalog, Table, ReadBuilder, TableScan, Plan, Split, TableRead,
BatchWriteBuilder, BatchTableWrite, CommitMessage, BatchTableCommit,
Predicate, PredicateBuilder)
from .java_implementation import \
(Catalog, Table, ReadBuilder, TableScan, Plan, Split,
TableRead, BatchWriteBuilder, BatchTableWrite, CommitMessage,
BatchTableCommit, Predicate, PredicateBuilder)

__all__ = [
'constants',
Expand Down
6 changes: 4 additions & 2 deletions pypaimon/py4j/java_implementation.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
from duckdb.duckdb import DuckDBPyConnection
from pypaimon.py4j.java_gateway import get_gateway
from pypaimon.py4j.util import java_utils, constants
from pypaimon.api import (catalog, table, read_builder, table_scan, split, table_read, write_builder,
table_write, commit_message, table_commit, Schema, predicate)
from pypaimon.api import \
(catalog, table, read_builder, table_scan, split,
table_read, write_builder, table_write, commit_message,
table_commit,Schema, predicate)
from typing import List, Iterator, Optional, Any


Expand Down

0 comments on commit 70ff48f

Please sign in to comment.