Skip to content

Commit c90f3a6

Browse files
committed
[python] Move pvfs implementation to a pvfs.py
1 parent 75521e9 commit c90f3a6

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

paimon-python/pypaimon/__init__.py

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

paimon-python/pypaimon/tests/pvfs_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323

2424
import pandas
2525

26+
from pypaimon import pvfs
2627
from pypaimon.api.api_response import ConfigResponse
2728
from pypaimon.api.auth import BearTokenAuthProvider
2829
from pypaimon.catalog.rest.table_metadata import TableMetadata
29-
from pypaimon.pvfs import PaimonVirtualFileSystem
3030
from pypaimon.schema.data_types import AtomicType, DataField
3131
from pypaimon.schema.table_schema import TableSchema
3232
from pypaimon.tests.api_test import RESTCatalogServer
@@ -61,7 +61,7 @@ def setUp(self):
6161
'token': self.token,
6262
'cache-enabled': True
6363
}
64-
self.pvfs = PaimonVirtualFileSystem(options)
64+
self.pvfs = pvfs.PaimonVirtualFileSystem(options)
6565
self.database = 'test_database'
6666
self.table = 'test_table'
6767
self.test_databases = {

0 commit comments

Comments
 (0)