data-explorer
data-explorer copied to clipboard
Database Sampling not working for JSON
Several MLCS people reported that JSON Database sampling is not working. I have analysed this issue, and I am working on a fix.
I created a gradle task to load the farmers data as json. When I try to create a query, I get a UI error "Server Error. Please try again later." when trying to save the query. Steps to reproduce:
- Load the farmers data: gradle loadDemoDataJSON
- Edit Config, Create a query
- Sample the database, choose JSON
- Choose Data-Explorer-content; should have 8,675 json documents
- Set collections to JSONDemoData, hit enter, not sure if the lookup button does anything.
- Choose document type "/" - Not sure what this means in context of JSON, could be the issue?
- Press select fields button
- Enter query name
- Path filter is a issue!!! We don't see, to have a "root" json choice - Choose /MarketPlace
- Set MarketName to Both and save -- Gets the error!!!
Issues:
- The error upon saving
- Having the path filter that does not have root, seems like it will use / on the screen, but not the choose relevant fields page.
- On pick a Document Type, does Lookup button do anything?