Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find operation source_object #25

Closed
matheusho opened this issue Aug 6, 2016 · 1 comment
Closed

Unable to find operation source_object #25

matheusho opened this issue Aug 6, 2016 · 1 comment

Comments

@matheusho
Copy link

matheusho commented Aug 6, 2016

@Stiivi I've been trying do the sql example, but always I run the program show this message: bubbles.errors.OperationError: Unable to find operation source_object. My bubbles version is 0.1 and SQLAlchemy 1.0.14.

Can you help me or show me the error code?

I want to use bubbles to migrate a legacy database (mssql) to new database (mysql) at my work company.

import bubbles


URL = "https://raw.github.com/Stiivi/cubes/master/examples/hello_world/data.csv"

stores = {
    "target": bubbles.open_store("sql", "sqlite:///")
}

p = bubbles.Pipeline(stores=stores)
p.source_object("csv_source", resource=URL, encoding="utf8")
p.retype({"Amount (US$, Millions)": "integer"})

p.create("target", "data")

p.aggregate("Category", "Amount (US$, Millions)")
p.pretty_print()
p.run()

Thanks.

@matheusho matheusho changed the title source_object Unable to find operation source_object Aug 6, 2016
@wpromatt
Copy link

wpromatt commented Sep 8, 2016

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants