Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting the exact document name

See original GitHub issue

The current document_name shows the whole path to get to that document for example projects/{project name}/databases/(default)/documents/{collection}/{document}. Is there an easy way to get just the document?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

jay-shahcommented, Jul 20, 2020

@Neilpoulin It seems like this has been fixed in Version 0.1.6

neilpoulincommented, Jun 4, 2020

I think i’m having the same problem as the author of this issue. All of the samples (including the How It Works on the Firebase Extension UI and the schema tutorial) indicate that you can query your firestore documents by their, using where document_name = 'some_id'. However, the document_name field in bigquery that is generated from the firebase bigquery export extension is the fully qualified path, like projects/{project name}/databases/(default)/documents/{collection}/{documentId}. I would expect to simply see the value in the {documentId} wildcard instead.

When i am writing queries and working in data studio, this is not a reasonable format to do things like joins, etc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Search for exact filename and extension only
If you want to match only filenames and not file contents, you can qualify the search with name: like: name:Windows.h. If you want...
Read more >
Getting actual file name (with proper casing) on Windows
Given the full path, search for each folder on the path (via FindFirstFile). This gives proper cased results of each folder. At the...
Read more >
How to get the exact file names? - Help - UiPath Forum
I am trying to get the File name exactly from the path mentioned. Say for example, 3 pdf files are in “C:\users\kk\hi.pdf”, ...
Read more >
6 Quick Ways to Get the Full Path of Your Word Document File
Method 4: View through the Recent Files ... Just hover your cursor over the file name, and you will see the full path...
Read more >
How to Find a File on a Computer
In the Search text field at the bottom of the Start menu, type part or all the file name you want to find....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found