You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sunjincheng (JIRA)" <ji...@apache.org> on 2019/06/20 13:22:00 UTC
[jira] [Closed] (FLINK-12910) Fix the Python catalog test issue
[ https://issues.apache.org/jira/browse/FLINK-12910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sunjincheng closed FLINK-12910.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
Fixed in master : 7d8869d7b1a0d08b3ac0a4e3e5bbe23b41b2cb57
> Fix the Python catalog test issue
> ---------------------------------
>
> Key: FLINK-12910
> URL: https://issues.apache.org/jira/browse/FLINK-12910
> Project: Flink
> Issue Type: Bug
> Components: API / Python
> Reporter: Dian Fu
> Assignee: Dian Fu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> self = <pyflink.table.tests.test_catalog.CatalogTestBase testMethod=test_table_exists>
>
> def test_table_exists(self):
> self.catalog.create_database(self.db1, self.create_db(), False)
>
> pyflink/table/tests/test_catalog.py:491:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> @staticmethod
> def create_db():
> gateway = get_gateway()
> j_database = gateway.jvm.GenericCatalogDatabase(\{"k1": "v1"}, CatalogTestBase.test_comment)
> E TypeError: 'JavaPackage' object is not callable
>
>
> pyflink/table/tests/test_catalog.py:78: TypeError
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)