Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vollt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sonia Zorba
vollt
Commits
edb10897
Commit
edb10897
authored
9 years ago
by
gmantele
Browse files
Options
Downloads
Patches
Plain Diff
[ADQL] Fix the problem of DOT inside table name while parsing an ADQL query.
parent
dc766f2c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/adql/query/from/ADQLTable.java
+5
-4
5 additions, 4 deletions
src/adql/query/from/ADQLTable.java
with
5 additions
and
4 deletions
src/adql/query/from/ADQLTable.java
+
5
−
4
View file @
edb10897
...
@@ -16,7 +16,8 @@ package adql.query.from;
...
@@ -16,7 +16,8 @@ package adql.query.from;
* You should have received a copy of the GNU Lesser General Public License
* You should have received a copy of the GNU Lesser General Public License
* along with ADQLLibrary. If not, see <http://www.gnu.org/licenses/>.
* along with ADQLLibrary. If not, see <http://www.gnu.org/licenses/>.
*
*
* Copyright 2012 - UDS/Centre de Données astronomiques de Strasbourg (CDS)
* Copyright 2012-2015 - UDS/Centre de Données astronomiques de Strasbourg (CDS),
* Astronomisches Rechen Institut (ARI)
*/
*/
import
java.util.ArrayList
;
import
java.util.ArrayList
;
...
@@ -37,8 +38,8 @@ import adql.query.TextPosition;
...
@@ -37,8 +38,8 @@ import adql.query.TextPosition;
* It represents any item of the clause FROM: a table name or a sub-query.<br />
* It represents any item of the clause FROM: a table name or a sub-query.<br />
* A table reference may have an alias (MUST if it is a sub-query).
* A table reference may have an alias (MUST if it is a sub-query).
*
*
* @author Grégory Mantelet (CDS)
* @author Grégory Mantelet (CDS
;ARI
)
* @version 0
1
/201
2
* @version 0
6
/201
5
*/
*/
public
class
ADQLTable
implements
ADQLObject
,
FromContent
{
public
class
ADQLTable
implements
ADQLObject
,
FromContent
{
...
@@ -83,7 +84,7 @@ public class ADQLTable implements ADQLObject, FromContent {
...
@@ -83,7 +84,7 @@ public class ADQLTable implements ADQLObject, FromContent {
* @param table Name of the table.
* @param table Name of the table.
*/
*/
public
ADQLTable
(
String
schema
,
String
table
){
public
ADQLTable
(
String
schema
,
String
table
){
this
(
table
);
setTableName
(
table
);
setSchemaName
(
schema
);
setSchemaName
(
schema
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment