Johan, :results is a tabular representation of the results from the prior steps in the workspace. In your example this holds several rows of a single value of eventId. This eventId appears to be a string, yet you're trying to access it as an array.
Can you explain what results you're expecting to get. Are you hoping to join all results from :results to the corresponding values in test? Are you just trying to join to the first returned result? Just seeing queries, but not knowing what, if anything, is being returned and not knowing what you're expecting makes it hard to provide potential solutions.
On Sunday, October 22, 2017 at 10:06:20 PM UTC-6, johan....@gmail.com wrote:I've also tried various variants of this to no avail:SELECT p.datafrom `/test-database/test` as tjoin :results as ron t.uid = r.eventId[0]/JohanOn Thursday, October 19, 2017 at 7:59:57 PM UTC+2, johan....@gmail.com wrote:Hi,I have a preview table that looks like this:I'd like to create a new query based on these event ids. What I've tried is this:SELECT *FROM `/test-database/test` AS twhere t.uid IN :resultsbut when I try to visualize the query result in a Preview card it just says that "The selected source is empty".Is there anyway I can use the values in ":result" to find entities like I've tried to do above?/Johan
--
You received this message because you are subscribed to a topic in the Google Groups "SlamData-User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/slamdata-user/83dJGCkULQE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/d4f8e961-bd67-4b17-b70e-38c5f79085e9%40googlegroups.com.
Thanks for your reply.
To unsubscribe from this group and all its topics, send an email to slamdata-use...@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/40dc1bd8-9ba2-485b-8fad-ddadca95da0b%40googlegroups.com.
An error occured when counting the preview data.
Failed to execute SQL^2 query.: MongoDB Error: Command failed with error 13548: 'BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit.' on server test-database:27017. The full response is { "ok" : 0.0, "errmsg" : "BufBuilder attempted to grow() to 134217728 bytes, past the 64MB limit.", "code" : 13548, "codeName" : "Location13548" }
To unsubscribe from this group and all its topics, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/40dc1bd8-9ba2-485b-8fad-ddadca95da0b%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/40dc1bd8-9ba2-485b-8fad-ddadca95da0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "SlamData-User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/slamdata-user/83dJGCkULQE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/99BB3495-848C-4156-8A14-5D4576B353DD%40degoes.net.
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncL%2BD6GhfnBLBpH%3Dndr5uC2q242370nt%2BpVL3y2kjjV9Bg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncK9Vq0tbLLO_J71ebU%2BStUwv2fS%3DwXxn75Xq0opSebUHg%40mail.gmail.com.
We're using 3.4.9
What version of Mongo?
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/40dc1bd8-9ba2-485b-8fad-ddadca95da0b%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-use...@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncL%2BD6GhfnBLBpH%3Dndr5uC2q242370nt%2BpVL3y2kjjV9Bg%40mail.gmail.com.
--
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-use...@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncK9Vq0tbLLO_J71ebU%2BStUwv2fS%3DwXxn75Xq0opSebUHg%40mail.gmail.com.
a.field = b.field
is ok, a.field < b.field
is not).We're using 3.4.9
What version of Mongo?
To unsubscribe from this group and all its topics, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/40dc1bd8-9ba2-485b-8fad-ddadca95da0b%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncL%2BD6GhfnBLBpH%3Dndr5uC2q242370nt%2BpVL3y2kjjV9Bg%40mail.gmail.com.
--
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-user+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncK9Vq0tbLLO_J71ebU%2BStUwv2fS%3DwXxn75Xq0opSebUHg%40mail.gmail.com.
Try one more thing: `SELECT p.data AS data …`Single columns without aliases are treated equivalent to SELECT VALUE, which creates problems for MongoDB that end in a map/reduce.John
You can find out more about the requirements for $lookup here: http://docs.slamdata.com/en/latest/sql-squared-reference.html#joins-on-mongodb
- Must be running MongoDB 3.2 or newer.
- One collection must use an indexed field.
- That collection must not be sharded.
- Both collections must be in the same database.
- Match must be an equijoin, based on equality only (
a.field = b.field
is ok,a.field < b.field
is not).
We're using 3.4.9
What version of Mongo?
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/40dc1bd8-9ba2-485b-8fad-ddadca95da0b%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-use...@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncL%2BD6GhfnBLBpH%3Dndr5uC2q242370nt%2BpVL3y2kjjV9Bg%40mail.gmail.com.
--
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncK9Vq0tbLLO_J71ebU%2BStUwv2fS%3DwXxn75Xq0opSebUHg%40mail.gmail.com.
--Sent from my phone
--
You received this message because you are subscribed to a topic in the Google Groups "SlamData-User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/slamdata-user/83dJGCkULQE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to slamdata-use...@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/6d751eac-745f-4775-ac1b-84c3007d9557%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
tis 24 okt. 2017 kl. 16:57 skrev John A. De Goes <jo...@degoes.net>:Try one more thing: `SELECT p.data AS data …`Single columns without aliases are treated equivalent to SELECT VALUE, which creates problems for MongoDB that end in a map/reduce.JohnThanks for the suggestion but this gives me:
<AA4024C6-6599-42DF-8A0B-54EB81D53297.png>
Which project? Quasar?
We're using 3.4.9
What version of Mongo?
To unsubscribe from this group and all its topics, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/40dc1bd8-9ba2-485b-8fad-ddadca95da0b%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/slamdata-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncL%2BD6GhfnBLBpH%3Dndr5uC2q242370nt%2BpVL3y2kjjV9Bg%40mail.gmail.com.
--
--
You received this message because you are subscribed to the Google Groups "SlamData-User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slamdata-user+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slamdata-user/CAK3tncK9Vq0tbLLO_J71ebU%2BStUwv2fS%3DwXxn75Xq0opSebUHg%40mail.gmail.com.
--Sent from my phone
--Sent from my phone
--Sent from my phone