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

Column with null content results sync error #4

Open
fernandosjp opened this issue Oct 2, 2017 · 2 comments
Open

Column with null content results sync error #4

fernandosjp opened this issue Oct 2, 2017 · 2 comments

Comments

@fernandosjp
Copy link

When using the command vendor/bin/console sync <table_name> --create-table, I'm getting the following error:

PHP Notice:  Undefined index: <column_name> in path/to/vendor/memeddev/mysql-to-google-bigquery/src/Services/SyncService.php on line 129
PHP Fatal error:  Uncaught Error: Call to a member function getType() on null in path/to/vendor/memeddev/mysql-to-google-bigquery/src/Services/SyncService.php:129

My hypothesis is what I wrote in the issue name. This is only happening on tables and columns which have null content. Does mysql-to-bigquery tool allow for column contents to be null?

Really cool project! Congrats!

@mishravikas
Copy link

@fernandosjp I'm facing the same issue, did you figure it out?

@fernandosjp
Copy link
Author

fernandosjp commented Jan 29, 2018

@mishravikas , I haven't figured it out. Fortunately, the columns throwing the error were not essential so I could add them to IGNORE_COLUMNS.

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