mkpipe-extractor-postgres 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mkpipe_extractor_postgres-0.2.1/mkpipe_extractor_postgres.egg-info → mkpipe_extractor_postgres-0.2.2}/PKG-INFO +1 -1
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres/__init__.py +2 -1
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2/mkpipe_extractor_postgres.egg-info}/PKG-INFO +1 -1
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/setup.py +1 -1
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/LICENSE +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/MANIFEST.in +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/README.md +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres/jars/mysql-connector-j-9.1.0.jar +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres/jars/oci-java-sdk-common-3.41.2.jar +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres/jars/org.postgresql_postgresql-42.7.4.jar +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres/jars/protobuf-java-4.26.1.jar +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres/registry_jar.py +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres.egg-info/SOURCES.txt +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres.egg-info/dependency_links.txt +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres.egg-info/entry_points.txt +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres.egg-info/requires.txt +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/mkpipe_extractor_postgres.egg-info/top_level.txt +0 -0
- {mkpipe_extractor_postgres-0.2.1 → mkpipe_extractor_postgres-0.2.2}/setup.cfg +0 -0
|
@@ -3,13 +3,14 @@ from mkpipe.functions_spark.base_extractor import BaseExtractor
|
|
|
3
3
|
|
|
4
4
|
class PostgresExtractor(BaseExtractor):
|
|
5
5
|
def __init__(self, config, settings):
|
|
6
|
+
self.schema = self.connection_params['schema']
|
|
7
|
+
|
|
6
8
|
super().__init__(
|
|
7
9
|
config,
|
|
8
10
|
settings,
|
|
9
11
|
driver_name='postgresql',
|
|
10
12
|
driver_jdbc='org.postgresql.Driver',
|
|
11
13
|
)
|
|
12
|
-
self.schema = self.connection_params['schema']
|
|
13
14
|
|
|
14
15
|
def build_jdbc_url(self):
|
|
15
16
|
return f'jdbc:{self.driver_name}://{self.host}:{self.port}/{self.database}?user={self.username}&password={self.password}¤tSchema={self.schema}'
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='mkpipe-extractor-postgres',
|
|
5
|
-
version='0.2.
|
|
5
|
+
version='0.2.2',
|
|
6
6
|
license='Apache License 2.0',
|
|
7
7
|
packages=find_packages(exclude=['tests', 'scripts', 'deploy', 'install_jars.py']),
|
|
8
8
|
install_requires=['mkpipe'],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|