Comments (3)
I think the current implementation uses the wrong Oracle keyword to limit the number of rows in the result. It should use FETCH instead:
http://www.oracletutorial.com/oracle-basics/oracle-fetch/
from tap.
The FETCH
keyword was added as part of Oracle 12 c , unfortunately. ALMA uses Oracle 11.
from tap.
The fix will (hopefully) be to encompass the original query inside a FROM
SUBSELECT
:
SELECT TOP 10 A, COUNT(*) C FROM T WHERE F() = 5
will become
SELECT A, C FROM (SEELCT A, COUNT(*) C FROM T WHERE F() = 5) WHERE ROWNUM <= 10
from tap.
Related Issues (20)
- ADQL ORDER BY DISTANCE fails HOT 1
- QueryRunner in cadc-tap-server fails if output format not known
- ADQL parser fails to handle reference to join key in natural join
- AllColumnsConverter should pay attention to column_index
- OraclePoint NumberFormatException with column references.
- The API for writing new visitors for the query parse tree is too complex
- INTERVAL function does not detect the appropriate types in joins with temp tables HOT 1
- Remove too specific class for column replacement. HOT 2
- Index creation on non-existent column: bad error message
- column case sensitivity on index creation HOT 2
- cadc-tap-server-oracle: Handle case when 0 radius is passed to INTERSECTS HOT 1
- cadc-tap-server-oracle - Function calls with TOP don't properly reference aliases
- cadc-tap-server-oracle: Point string output produces NPE
- /availability endpoint does not report when service proxy cert has expired HOT 1
- MAXREC of exactly 2^31-1 produces a surprising error HOT 1
- Attempt to use a column expression as a boolean_factor term in a WHERE produces an unhelpful error HOT 1
- extract postgresql and pgsphere specific code from ADQL parser
- maxUploadRows in BasicUploadManager ignored
- youcat: faolure to create an index doesn't say why
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tap.