Giter Site home page Giter Site logo

Comments (6)

koxudaxi avatar koxudaxi commented on May 8, 2024 2

@agatim
I will check the documents!!
Thank you very much 😄

from local-data-api.

agatim avatar agatim commented on May 8, 2024 1

@koxudaxi
Hello!

If you want the column metadata you can query the table information_schema.columns (is available for Postgres and MySQL). Check the documentation:

PostgresSQL: https://www.postgresql.org/docs/9.1/infoschema-columns.html
MySQL: https://dev.mysql.com/doc/refman/8.0/en/columns-table.html

from local-data-api.

alexisespinosa avatar alexisespinosa commented on May 8, 2024 1

Hi @koxudaxi

I hit same error, is there a workaround? Saw your #69 pr but not sure if that fixes it

Thanks!

UPDATE: I just tried your change and now it works

from local-data-api.

koxudaxi avatar koxudaxi commented on May 8, 2024

@Apoalex92

Thank you for creating the issue.

It seems that the problem is related to the amount of memory space reserved to the JVM, as suggested into the stacktrace it could be useful to increase it.

I will search for a method of how to increase reserved JVM memory size 👍

By the way, for further enhancement I suggest to remove the JDBC approach for connecting to database instances. Since the program is written in Python, it could be more efficient using psycopg2 o pymysql.

I agree!! But, I choice JDBC driver for actual ColumnMetadata.

I made it with pymysql to access a DB.
However, I know we need to get ColumnMetadata with includeResultMetadata.
https://docs.aws.amazon.com/rdsdataservice/latest/APIReference/API_ColumnMetadata.html
I had found the metadata came from JDBC drivers.
I had implemented it with the JDBC drivers.
If we can create ColumnMetadata from pymysql or driver on python then I change JDBC drivers to another driver on python.

Now, The code is broken to use pymysql in this app. I will fix it. Sorry.
However, ResultMetadata is not correct. the quality is a mock level.

from local-data-api.

koxudaxi avatar koxudaxi commented on May 8, 2024

@alexisespinosa

Thank you for your reporting!!
It's awesome 🚀

I can't be waiting for the release of jpype 😆

from local-data-api.

koxudaxi avatar koxudaxi commented on May 8, 2024

I think this problem is resolved.

from local-data-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.