solutions-gcs-bq-streaming-functions-python | Streaming data from Cloud Storage | GCP library
kandi X-RAY | solutions-gcs-bq-streaming-functions-python Summary
kandi X-RAY | solutions-gcs-bq-streaming-functions-python Summary
Streaming data from Cloud Storage into BigQuery using Cloud Functions
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Streaming files
- Handle an error stream
- Insert rows into BigQuery table
- Handle duplicates
- Publish a successful upload event
- Check if db_ref exists
- Return current time
- Print the file header
- Print a line
- Print footer
solutions-gcs-bq-streaming-functions-python Key Features
solutions-gcs-bq-streaming-functions-python Examples and Code Snippets
Community Discussions
Trending Discussions on solutions-gcs-bq-streaming-functions-python
QUESTION
I have implemented my python code as per https://github.com/GoogleCloudPlatform/solutions-gcs-bq-streaming-functions-python/blob/master/functions/streaming/main.py
Just instead of storage trigger, I am using a pubsub trigger through cloud scheduler and loading the files present in a bucket.
But while running the function I am getting below error.
raise valueerror("a document must have an even number of path elements")
I am using firestore version 1.8.1 in requirements file.
Can someone please suggest me what is wrong here?
...ANSWER
Answered 2020-Aug-20 at 22:39That error means you're trying to use a Firestore collection as a document. Check that all your Firestore document paths are correct.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install solutions-gcs-bq-streaming-functions-python
You can use solutions-gcs-bq-streaming-functions-python like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page