Skip to content

Commit b180329

Browse files
yuzelinyuzelin
authored andcommitted
[Rename] Rename module and package to pypaimon (#29)
(cherry picked from commit 33d5253)
1 parent 9f8fe2d commit b180329

Some content is hidden

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

48 files changed

+73
-47
lines changed

.github/workflows/check-java-bridge-licensing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
- name: Build
4141
run: |
4242
set -o pipefail
43-
cd paimon_python_java/paimon-python-java-bridge
43+
cd pypaimon/py4j/paimon-python-java-bridge
4444
mvn clean deploy ${{ env.MVN_COMMON_OPTIONS }} -DskipTests \
4545
-DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
4646
| tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
4747
4848
- name: Check licensing
4949
run: |
50-
cd paimon_python_java/paimon-python-java-bridge
50+
cd pypaimon/py4j/paimon-python-java-bridge
5151
mvn ${{ env.MVN_COMMON_OPTIONS }} exec:java@check-licensing -N \
5252
-Dexec.args="${{ env.MVN_BUILD_OUTPUT_FILE }} $(pwd) ${{ env.MVN_VALIDATION_DIR }}" \
5353
-Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties

pypaimon/__init__.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
################################################################################
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#################################################################################
18+
19+
from .api import Schema
20+
21+
__all__ = ['Schema']
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
from abc import ABC, abstractmethod
2020
from typing import Optional
21-
from paimon_python_api import Table, Schema
21+
from pypaimon.api import Table, Schema
2222

2323

2424
class Catalog(ABC):
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#################################################################################
1818

1919
from abc import ABC, abstractmethod
20-
from paimon_python_api import TableRead, TableScan, Predicate, PredicateBuilder
20+
from pypaimon.api import TableRead, TableScan, Predicate, PredicateBuilder
2121
from typing import List
2222

2323

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import pyarrow as pa
2020

2121
from abc import ABC, abstractmethod
22-
from paimon_python_api import ReadBuilder, BatchWriteBuilder
22+
from pypaimon.api import ReadBuilder, BatchWriteBuilder
2323
from typing import Optional, List
2424

2525

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#################################################################################
1818

1919
from abc import ABC, abstractmethod
20-
from paimon_python_api import CommitMessage
20+
from pypaimon.api import CommitMessage
2121
from typing import List
2222

2323

0 commit comments

Comments
 (0)