这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@russellwheatley
Copy link
Member

@russellwheatley russellwheatley commented Apr 27, 2020

fixes #284

Test every type (excluding Blob type) and nesting within object & array:
Screenshot 2020-04-27 at 16 53 20

Firebase Console logs:
Screenshot 2020-04-27 at 16 55 47

Created Record in BigQuery table:
Screenshot 2020-04-27 at 16 54 18

@googlebot googlebot added the cla: yes Author has signed the CLA label Apr 27, 2020
@russellwheatley russellwheatley requested review from Ehesp and Salakar and removed request for Ehesp and Salakar April 27, 2020 13:14
@Salakar Salakar marked this pull request as ready for review April 28, 2020 16:20
@russellwheatley russellwheatley requested a review from a team as a code owner April 28, 2020 18:40
@laurenzlong laurenzlong changed the title fix(firestore-bigquery-export): null check on prop fix(firestore-bigquery-export): fix "TypeError: Cannot read property 'constructor' of null" (Issue #284) Apr 28, 2020
}
const data = traverse(eventData).map((property) => {
if (
property &&
Copy link
Contributor

@laurenzlong laurenzlong Apr 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, this can also be written as:

if (property?.constructor?.name === firebase.firestore.DocumentReference.name)

But this works fine also.

@laurenzlong laurenzlong merged commit 2505478 into next Apr 28, 2020
@agau4779 agau4779 deleted the @invertase/null-property-check branch May 5, 2020 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Author has signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error exporting data to Bigquery

4 participants