Skip to content

Commit 6f2126d

Browse files
#121: fixed typo (#122)
* #121: fixed typo
1 parent fb362fa commit 6f2126d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.exasol</groupId>
66
<artifactId>virtual-schema-common-java</artifactId>
7-
<version>8.0.0</version>
7+
<version>8.0.1</version>
88
<name>Common module of Exasol Virtual Schemas Adapters</name>
99
<description>This is one of the modules of Virtual Schemas Adapters. The libraries provided by this project are the foundation of the adapter development, i.e. adapters must be implemented on top of them.</description>
1010
<url>https://github.com/exasol/virtual-schema-common-java</url>

src/main/java/com/exasol/adapter/request/parser/PushdownSqlParser.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
package com.exasol.adapter.request.parser;
22

3-
import com.exasol.adapter.metadata.ColumnMetadata;
4-
import com.exasol.adapter.metadata.DataType;
3+
import com.exasol.adapter.metadata.*;
54
import com.exasol.adapter.metadata.DataType.ExaCharset;
65
import com.exasol.adapter.metadata.DataType.IntervalType;
7-
import com.exasol.adapter.metadata.TableMetadata;
86
import com.exasol.adapter.sql.*;
97

108
import javax.json.JsonArray;
@@ -126,7 +124,7 @@ private SqlStatementSelect parseSelect(final JsonObject select) {
126124
limit = parseLimit(select.getJsonObject("limit"));
127125
}
128126
return SqlStatementSelect.builder().selectList(selectList).fromClause(table).whereClause(whereClause)
129-
.groupBy(groupByClause).having(having).orderBy(orderBy).limit(limit).build();
127+
.groupBy(groupByClause).having(having).orderBy(orderBy).limit(limit).build();
130128
}
131129

132130
private SqlNode parseTable(final JsonObject exp) {
@@ -330,7 +328,7 @@ private DataType getDataType(final JsonObject dataType) {
330328

331329
private DataType getHashtype(final JsonObject dataType) {
332330
final int byteSize = dataType.getInt("bytesize");
333-
return DataType.createGeometry(byteSize);
331+
return DataType.createHashtype(byteSize);
334332
}
335333

336334
private DataType getVarchar(final JsonObject dataType) {

0 commit comments

Comments
 (0)