Giter VIP home page Giter VIP logo

pysql-beam's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pysql-beam's Issues

Support for AlloyDB?

Hi,
It's not a bug but had a question and did not find any link for raising a question. Does this library also support AlloyDB which is an extension of Postgre-sql? I could not find it in the documentation so, wanted to confirm

Syntax error

https://github.com/yesdeepakverma/pysql-beam/blob/dbdfb5570d0c9ebb0eb88d133a2e2413d0b886d2/pysql_beam/sql_io/sql.py#L243

Looks like the closing curly bracket is outside the closing double quote. This is causing import errors:

from pysql_beam.sql_io.sql import ReadFromSQL
  File "/usr/local/lib/python3.8/site-packages/pysql_beam/sql_io/sql.py", line 243
    logging.info(f"pagination query do fn wrapper:{kwargs['wrapper']"})
                                                                     ^
 SyntaxError: closing parenthesis '}' does not match opening parenthesis '('

Typo on documentation

Hi,

You have a typo on documentation, on reading example you are using databse as argument of ReadFromSQL.

Regards!

Script crashes when query is not provided

I tried to run script with passing table name only, which resulted in crash with error

File "/home/ameen/.virtualenvs/data-warehousing-exploration/lib/python3.8/site-packages/pysql_beam/sql_io/sql.py", line 242, in process source.query = source.query.strip(";") AttributeError: 'NoneType' object has no attribute 'strip' [while running 'Read from postgres/ReadFromSQL/SplitQuery']

Get Schema

Hi, after doing CustomSQLRead, how do you get the schema of the queried data?

need to turn that into Avro format, and first I will need the Schema of the data. Thank you so much!

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.