0

YQL can't distinguish between a filter and a sub-select, or I can't

If I try to filter on two fields using an "IN", the query is rejected as having 2 sub-selects.  This just doesn't seem right, since the alternative is issuing way more queries.

For example, I can't do this:

select name, team_points from fantasysports.teams.stats
where team_key IN ('273.l.555415.t.1','273.l.555415.t.2') and stats_type='week' and stats_week IN (1,2)

even though I'm hitting only one table.

I don't think that query should be invalid.

by
1 Reply
  • So I changed my app to issue 10 times as many queries to accomplish the same task, and got 999'd after a really small number, so that doesn't work.  In fact this whole api is a bit of a pita with no support.
    0

Recent Posts

in YQL