Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think there might be two related problems here: too many instructions, and being run too frequently.</p> <p>When I run your query in the [YQL console][yql], I see the response in part:</p> <pre><code>&lt;javascript execution-time="6783" instructions-used="50024350" table-name="yahoo.finance.historicaldata"/> &lt;javascript name="yahoo.finance.historicaldata" verb="select"> &lt;![CDATA[java.lang.RuntimeException: Too many instructions executed: 50024350]]> &lt;/javascript></code></pre> <p>You can see the problem is "too many instructions executed".</p> <p>Looking at the sample query for that table, it looks like the start &amp; end dates for that table use the yyyy-mm-dd format. Thus, your query could be re-written as:</p> <pre><code>select * from yahoo.finance.historicaldata where symbol = "TW.L" and startDate = "2011-01-01" and endDate = "2011-01-22"</code></pre> <p>This updated query worked for me a couple times, but now I'm getting the further error of the table being blocked:</p> <pre><code>&lt;javascript name="yahoo.finance.historicaldata" verb="select"> &lt;![CDATA[com.yahoo.platforms.pipes.model.ModuleException: Error Codes: js.blocked.execute.request Message: "The current table 'yahoo.finance.historicaldata' has been blocked. It exceeded the allotted quotas of either time or instructions"]]> &lt;/javascript></code></pre> <p>It's possible that one leads to the other; in other words, the malformed request is causing so many instructions to run that it's causing the table to be blocked.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload