Code Monkey home page Code Monkey logo

Comments (26)

cabljac avatar cabljac commented on August 29, 2024 4

Today hopefully!

from extensions.

GD-MarcoBug avatar GD-MarcoBug commented on August 29, 2024 2

Hi @pr-Mais and @jauntybrain,
first of all, many thanks for the quick support.
The problem occurs both with a new instance and when updating to the latest version.
The following is a basic configuration, for new instances, it gets stuck in processing (last screenshot):
Bildschirmfoto 2024-04-16 um 09 11 51

image image image

from extensions.

cabljac avatar cabljac commented on August 29, 2024 2

Investigating this now, testing a fix. Thanks for your patience!

from extensions.

GD-MarcoBug avatar GD-MarcoBug commented on August 29, 2024 1

For your information. The problem also occurs with 0.1.44.
Since 20240412

from extensions.

olegdater avatar olegdater commented on August 29, 2024 1

firebase/[email protected]

I still see same problem

Runtime Status: Processing
Configuring BigQuery Sync.

table not created and errors in console: Unhandled error ApiError: Not found: Table

Screenshot 2024-04-20 at 07 11 13

from extensions.

pr-Mais avatar pr-Mais commented on August 29, 2024

When I set up a new customer, the dataset Firestore_Export is still created, but no export tables are created. With the previous versions, everything worked without any problems.

Could you please elaborate more? Do you mean when you install a new instance of the extension, the export table isn't created hence no changes are recorded?

from extensions.

j05u3 avatar j05u3 commented on August 29, 2024

same, no export tables created and for me it says processing for hours
image

from extensions.

pr-Mais avatar pr-Mais commented on August 29, 2024

@j05u3 thanks for sharing your issue, we're looking into it.

from extensions.

olegdater avatar olegdater commented on August 29, 2024

exactly same here, Dataset is created, but tables inside are not created, then I get errors like this in the logs when extension tries to insert data:

Unhandled error ApiError: Not found: Table project_id:firestore_export.messages_raw_changelog at new ApiError (

from extensions.

jauntybrain avatar jauntybrain commented on August 29, 2024

Hi @j05u3 and @GD-MarcoBug, thank you for reporting this issue. Could you please share the configuration settings of your installed Stream Firestore to BigQuery extensions? Feel free to redact any sensitive information.

from extensions.

pr-Mais avatar pr-Mais commented on August 29, 2024

Also wondering if you installed a new instance of the extension or updated from a previous version?

from extensions.

joeframpton avatar joeframpton commented on August 29, 2024

I found that when I tried to stream from firestore in project A to bigquery in project B, I had to manually add the function's service account permissions in project B. The extension would then be able to add the dataset and table in bigquery. However, the extension would be stuck on processing until I manually added the required routines in BigQuery too.

from extensions.

olegdater avatar olegdater commented on August 29, 2024

@joeframpton what are those "the required routines in BigQuery " and how to add them? eager to make it work again 😀

from extensions.

cabljac avatar cabljac commented on August 29, 2024

@GD-MarcoBug do you know if the extension works on versions before 0.1.44?

from extensions.

GD-MarcoBug avatar GD-MarcoBug commented on August 29, 2024

The customers I had updated to 0.1.44 are working. Customers for which I have new created the extension with 0.1.44 do not work.
A customer update to 0.1.45 also ran smoothly.
An update to 0.1.48 has cut the connection and stucks in processing.
New customer with 0.1.48 also stuck in processing.
I have no customers with an older version than 0.1.44.

The service account is still created correctly. The dataset in BigQuery is also created. The creation of the tables then does not work.

You should be able to reproduce the error by creating a new Firestore project. Load data into it and export it with the latest extension version.
I can also imagine that the extension is stuck because Firestore is constantly receiving new data and the extension may not be able to process this fast enough?! this worked before

from extensions.

krishnamshah avatar krishnamshah commented on August 29, 2024

Same issue here. Creation of the tables does not work.

from extensions.

joeframpton avatar joeframpton commented on August 29, 2024

@olegdater

@joeframpton what are those "the required routines in BigQuery " and how to add them? eager to make it work again 😀

Hi, so the workaround I managed to implement (which autoinstalled the routined for me - alternatively you can install them following this: https://cloud.google.com/bigquery/docs/samples/bigquery-create-routine) was the following:

  1. Run the fs-bq-import-collection script across projects (although it failed too - Issue raised here). This created the dataset and table in bigquery in the second project
  2. Imported a schema using fs-bq-schema-views to the bigquery in the second project
  3. Installed this extension to set up the stream across projects - and then manually added the service account from this extension to have BigQuery Data Editor & Cloud Datastore User in the second project
  4. Run the fs-bq-import-collection script to import the data to bigquery in the original project
  5. Set up the service account from the second project to have permissions in the first project
  6. In Big Query in the second project, access the data from the original project's big query and merge into the data that's being streamed from step 3

That's what worked for me! There might be superfluous steps in there but I hope this is helpful

from extensions.

Matan avatar Matan commented on August 29, 2024

👋 eagerly waiting for the fix, thanks for working on it!, in the meantime, is possible to run import script multiple times to update existing / updated documents? I'm running it but it skips over existing updated documents in my collections. I'm effectively looking for an "upsert" mechanic to hold me over until the extension is fixed.

I've also removed the extension and reinstalled the last known good extension version (0.1.42), but no updates are making it through to BigQuery.

Thanks, any help will be appreciated.

from extensions.

krishnamshah avatar krishnamshah commented on August 29, 2024

Thank you for the prompt resolution. When will the fix be deployed to production?

from extensions.

cabljac avatar cabljac commented on August 29, 2024

Strange, it had fixed it for me. I will investigate further.

from extensions.

cabljac avatar cabljac commented on August 29, 2024

I believe it could be an issue with the onConfigure logic but I won't get a chance to look at it and release until Monday, most likely. If it's urgent you could try installing a fresh instance of the extension as a workaround.

from extensions.

cabljac avatar cabljac commented on August 29, 2024

It may be intended behaviour not to create a table onConfigure actually, you might need to install a fresh instance to create the table

from extensions.

olegdater avatar olegdater commented on August 29, 2024

i was creating a new extension installation for 0.1.49, not just refreshing already existing one

or what do you mean "install a fresh instance to create the table"?

from extensions.

cabljac avatar cabljac commented on August 29, 2024

In that case I'll try and reproduce it again tomorrow and see what's going wrong. Must be something else up with it, as the RC worked yesterday. Thanks for your patience

from extensions.

cabljac avatar cabljac commented on August 29, 2024

@olegdater I don't believe you can have multiple firestore fields in a comma separated list, for

"Firestore Document field name for BigQuery SQL Time Partitioning field option (Optional)"

Our regex validation will need to be changed to reflect this, right now that field has no validation. I will open a new issue to track this.

If you're still facing this issue with a valid config, feel free to open a new issue to track :)

from extensions.

olegdater avatar olegdater commented on August 29, 2024

thanks @cabljac ! confirmed, it now works 🎉

from extensions.

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.