Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase twitter's commit onto prestodb master #248

Open
wants to merge 129 commits into
base: prestodb-twitter-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
e1ddc0e
Fix writing tables with preferred ordering using temp path
shixuan-fan Apr 21, 2020
5368a56
Use field name for Parquet schema mismatch checking
beinan Mar 4, 2020
746c290
add unit test for parquet schema mismatch checker and fix code review…
beinan Mar 26, 2020
7a01f2b
Make parquet's schema check more tolerant for adding and removing sub…
beinan Apr 21, 2020
6aac57f
Clean up PlanOptimizerProvider while dropping connector
liyubin117 Apr 21, 2020
f220d7f
Add soft memory limit configuration properties
aweisberg Apr 14, 2020
8f7edbd
Add config for orc compression codec
jainxrohit Apr 17, 2020
fc81c05
Refactor flattenCollection to GeometryUtils
jagill Apr 14, 2020
22a421b
Remove unused code from TestRowBasedSerialization#testRandomBlocks
Apr 21, 2020
ab241b8
Refactor AWS SDK Client Metrics Collection
pettyjamesm Apr 15, 2020
b61e0b6
Use shared metrics collector in PestoS3ClientFactory
pettyjamesm Apr 15, 2020
90e7405
Display built-in functions first in SHOW FUNCTIONS
caithagoras0 Feb 5, 2020
25fe380
Fix QueryResource for queued queries
tdcmeehan Apr 19, 2020
4405e0c
Allow queued queries to be preempted and canceled
tdcmeehan Apr 19, 2020
353853b
add presto-druid connector to server tarball
mqiang Apr 25, 2020
7a988d5
Fix float value for druid connector
mqiang Apr 25, 2020
a20247b
escape keyword for druid column name
mqiang Apr 25, 2020
34b3f6a
Add session property for druid connector
zhenxiao Apr 25, 2020
0e6c5ff
Fix query client timeout
tdcmeehan Apr 23, 2020
8f46c25
Add release notes for 0.234.1 and 0.234.2
caithagoras0 Apr 27, 2020
b4f826e
Refactor HiveWriterFactory
wenleix Apr 22, 2020
2c9385a
Rename PageSinkProperties#isPartitionCommitRequired
wenleix Apr 22, 2020
8df5254
Rename partition / lifespan commit into page sink commit
arhimondr Apr 22, 2020
c93c8ce
Introduce PageSinkCommitStrategy
wenleix Apr 22, 2020
2bfddd0
Support table write commit in Presto on Spark
wenleix Apr 22, 2020
1cc59eb
Add footer to PageFile format
viczhang861 Apr 16, 2020
f8fac99
Create zero row file for PageFile format
viczhang861 Apr 25, 2020
0a0c6ff
Support splittable read of PageFile
viczhang861 Apr 16, 2020
ca3f93f
Fix "bound must be positive" exception when creating DictionaryBlock
Apr 23, 2020
aaeaa5b
Remove positionCount check in createRandomLongDecimalsBlock
Apr 23, 2020
22d97dd
Fix duplicated table name in TestHiveIntegrationSmokeTest
viczhang861 Apr 28, 2020
c9f3fb6
Refactor presto spark launcher
arhimondr Apr 22, 2020
8445177
read druid query response stream by page
mqiang Apr 29, 2020
52eaac5
Fix interruption handling in Driver
arhimondr Apr 28, 2020
34500b1
Add function scale_qdigest
tdcmeehan Feb 7, 2020
a5a0492
Fix invalid quantile to be a user error
tdcmeehan Apr 26, 2020
1361d6d
Fix named query output does not match column list
rongrong Apr 3, 2020
555df6a
Change PageProjection to produce List<Block>
rongrong Apr 14, 2020
ee1f004
Add API in PageFunctionCompiler to compile a list of projections
rongrong Apr 8, 2020
a95a5bf
Remove PageProjection::getType
rongrong Apr 8, 2020
bc8e557
Change PageFunctionCompiler to compile a list of projections
rongrong Apr 10, 2020
c096a8e
Generate projection bytecode based on common sub expression
rongrong Apr 22, 2020
b6659da
Performance benchmark for common sub expression projection
rongrong Apr 14, 2020
ecfe63e
Unify QualifiedName to QualifiedFunctionName conversion
caithagoras0 Apr 12, 2020
f9f9d83
Support SHOW CREATE FUNCTION
caithagoras0 Apr 12, 2020
a75114b
Enable common sub expression optimization in PageFunctionCompiler filter
rongrong Apr 25, 2020
b13f60b
Pre-calculate nested positions array size in BlockEncodingBuffer
Apr 26, 2020
c609bf9
Prevent ASM library causing worker GC storms.
Apr 30, 2020
3d21ea9
Prepare for next development iteration - 0.236-SNAPSHOT
May 1, 2020
6eb0d35
Add stats and cost rule for IntersectNode
ssaumitra Feb 22, 2020
dbf3a80
Handle pruned columns in a pushed down pinot table scan
Apr 28, 2020
659c0c2
Lower startup-grace-period for TestRaptorIntegrationSmokeTestMySql
highker May 4, 2020
3dd9704
Fix getBlockView to use positionCount instead of outputPositionCount
bhhari May 2, 2020
491bab7
Add adapters for PageCompressor and PageDecompressor
viczhang861 Apr 17, 2020
e03790e
Support page compression in PageFileWriter
viczhang861 Apr 24, 2020
f2cef22
Add LZ4 compression in HiveCompressionCodec
viczhang861 Apr 29, 2020
f7cfca4
Implement Decompressor using zlib
viczhang861 May 1, 2020
f297b39
Add compression information in PageFile footer
viczhang861 Apr 29, 2020
cd2a34b
Support reading compressed PageFile format
viczhang861 Apr 29, 2020
516aba5
Add PageFile compression in HiveFileFormatBenchmark
viczhang861 Apr 29, 2020
5bd40c5
Fix integer overflow when creating a BigIntValues Filter
bhhari May 2, 2020
46d1834
Disable memory allocation tracking by default
mbasmanova May 5, 2020
8886f79
Remove unused field in HiveMetadata
shixuan-fan May 4, 2020
5611734
Optimize createPredicate in getTableLayout
shixuan-fan May 2, 2020
1a15aba
Add new presto-common module
Apr 29, 2020
c4635ef
Add types of Exceptions to presto-common
Apr 29, 2020
b5f7eea
Refactor function package of presto-spi into presto-common
Apr 29, 2020
e5710cd
Move Subfield to presto-common
Apr 29, 2020
04138bc
Move Type,Block,SqlFunctionProperties to presto-common
Apr 29, 2020
29acdba
Refactor predicate package into presto-common
Apr 29, 2020
efe29ef
Remove unused OutOfRangeException
May 6, 2020
76d18ba
Catch InvalidFunctionArgumentException and rethrow as PrestoException
May 6, 2020
e7a2cb0
Handle NotSupportedException from SingleMapBlock, TimeZoneKey
May 6, 2020
9057aea
Handle NotSupportedException from RowType, MapType, ArrayType
May 6, 2020
b70fcf3
Add release notes collection script
caithagoras0 May 4, 2020
e4fbf22
FastutilSetHelper ObjectStrategy equals result can be null.
sujay-jain Apr 28, 2020
007891b
Do not prune partitions with recoverable failures in filter evaluation
bhhari May 7, 2020
04daeb4
Drop presto-orc usage of INVALID_FUNCTION_ARGUMENT PrestoException
May 8, 2020
20b4db7
Drop presto-orc usage of GENERIC_INTERNAL_ERROR PrestoException
May 8, 2020
cc31286
Drop presto-orc usage of NOT_SUPPORTED PrestoException
May 8, 2020
10a8cb5
Add extracted common sub-expression to debug level logging
rongrong May 5, 2020
5618ebd
Partition projections into subsets that depend on same common sub-exp…
rongrong May 1, 2020
2e38dd4
Change common sub-expression methods to return result
rongrong May 6, 2020
5699056
Upgrade Drift to version 1.23
ajaygeorge May 8, 2020
541aa44
Fix Travis CI running limit exceptions (#220)
dcfocus Nov 14, 2019
63aca15
Port zookeeper support for hms (#221)
dcfocus Nov 14, 2019
9f23d37
Port lzo thrift support (#222)
dcfocus Nov 14, 2019
fc2b729
Port non-secured request bypass (#223)
dcfocus Nov 15, 2019
7701f21
Port event listener for query logging (#225)
dcfocus Nov 17, 2019
e862e26
Port adding presto-twitter-server (#226)
dcfocus Jan 8, 2020
4467d01
Port adding twitter functions (#227)
dcfocus Jan 8, 2020
5b2c5e9
fix timezone for TestTwitterFunctions (#230)
dcfocus Jan 9, 2020
a1aab31
Port Presto Twitter Gateway (#231)
dcfocus Jan 9, 2020
0950488
Find Parquet column by name (#232)
dcfocus Jan 9, 2020
015f390
Add presto-twitter-server-rpm (#233)
dcfocus Jan 10, 2020
81ea8a6
Rebase to 230 and refactoring twitter's lzo-thrift
beinan Jan 24, 2020
26dd33d
By-pass authentication by source
beinan Jan 30, 2020
8aab394
Add maintenance coordinator module for Aurora SlaPolicy
luohao Nov 16, 2018
cc3ec8f
Use user name based service name instead of host based name for krb 5
beinan Jan 31, 2020
5edbe27
fix duplicatd bind of HiveCluster
beinan Jan 31, 2020
1fd6458
fix bugs on by-pass authentication
beinan Feb 14, 2020
a2006df
Fix the null value bug for the columns with the name of sql keywords
beinan Feb 22, 2020
cbf81c1
fix CTAS failures when using viewfs
beinan Feb 22, 2020
a2a9958
Ignore not found files
Yaliang Jan 26, 2018
aead098
Fix no codec issue for lzo index files.
beinan Feb 23, 2020
e350273
Add dependency of javax.annotation into presto-catch's pom to fix bui…
beinan Jan 24, 2020
2b6c0d1
Fix incompatible types error on jdk 9 and 11
beinan Jan 24, 2020
cbd4ea9
Add a counter stats for namenode ops (#240)
beinan Feb 22, 2020
a6d9f6b
Handle empty structs by inserting an unknown field
Yaliang Dec 13, 2017
b596173
Compare type by (name,type) pair rather than (index,type) pair during…
beinan Mar 26, 2020
ed07cfd
rebase to 234, fix complie error and refactoring
beinan Apr 15, 2020
4de509c
add druid module to presto-twitter-server
beinan Apr 21, 2020
4bcd21e
fix by-pass authentication for presto 0.234+
beinan Apr 21, 2020
cbf2f56
Add configuration for hdfs config resources
beinan May 5, 2020
572fa2a
Fix json type deserialization issue on DruidSegmentInfo
beinan May 7, 2020
b3d309a
Add dependency of fastutil for Druid HDFS file parsing
beinan May 7, 2020
fe06bc6
Support query columns with 'Other' type
beinan May 7, 2020
8841530
Escaping special characters in druid table name and column name.
beinan May 7, 2020
63b111a
Add the problematical file path to the presto exception message
beinan May 7, 2020
ba6cef4
Add presto-druid into presto-product-test config properties
beinan May 7, 2020
e27d441
Fix compile errors after rebase 236 master
beinan May 8, 2020
b20c191
Exclude transitive dependency to fix build error
beinan May 8, 2020
8813de0
Fix the exception of 'Internal file \"column_name\" doesn't exist'
beinan May 8, 2020
18dd19f
Improve JSON serialization for the http requests to Druid
beinan May 8, 2020
cc6ef24
Escaping variable name and the column name inside distinct count.
beinan May 8, 2020
3ff4f01
Add unit test case for druid.hadoop.config.resources
beinan May 8, 2020
0a9a165
Refactoring and fix code reivew issue
beinan May 9, 2020
53662bf
[Ignore when rebase, already in upstream] fix json serialization
beinan May 19, 2020
641d06c
Skip escaping columnnames for table-scan on hdfs
beinan May 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 21 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ env:
- TEST_SPECIFIC_MODULES=presto-hive TEST_FLAGS="-P test-hive-pushdown-filter-queries-advanced"
- TEST_SPECIFIC_MODULES=presto-hive TEST_FLAGS="-P test-hive-repartitioning"
- TEST_SPECIFIC_MODULES=presto-hive TEST_FLAGS="-P test-hive-parquet"
- TEST_SPECIFIC_MODULES=presto-hive TEST_FLAGS="-P test-hive-distributed-queries"
- TEST_SPECIFIC_MODULES=presto-hive TEST_FLAGS="-P test-hive-integration-smoke"
- TEST_SPECIFIC_MODULES=presto-main
- TEST_SPECIFIC_MODULES=presto-mongodb TEST_FLAGS="-P test-mongo-distributed-queries"
- TEST_SPECIFIC_MODULES=presto-redis TEST_FLAGS="-P test-redis-integration-smoke-test"
Expand All @@ -40,6 +42,7 @@ env:
- PRODUCT_TESTS_BASIC_ENVIRONMENT=true
- PRODUCT_TESTS_SPECIFIC_ENVIRONMENT=true
- PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2=true
- PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_3=true
- HIVE_TESTS=true
- KUDU_TESTS=true
- SPARK_INTEGRATION_TESTS=true
Expand All @@ -52,13 +55,29 @@ cache:
directories:
- $HOME/.m2/repository
- $HOME/.m2/wrapper
- $HOME/.thrift

services:
- docker

git:
quiet: true

before_install:
- |
if [[ ! -e $HOME/.thrift/bin/thrift ]]; then
sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-filesystem-dev libboost-thread-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
wget https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz
tar xfz thrift-0.9.3.tar.gz
cd thrift-0.9.3 && ./configure --without-cpp --without-c_glib --without-python --without-ruby --without-php --without-erlang --without-go --without-nodejs -q --prefix=$HOME/.thrift
sudo make install > thrift_make_install.log
cd ..
fi
- |
if [[ ! -e /usr/local/bin/thrift ]]; then
sudo ln -s $HOME/.thrift/bin/thrift /usr/local/bin/thrift
fi

install:
- ./mvnw -v
- |
Expand Down Expand Up @@ -113,7 +132,7 @@ script:
fi
- |
if [[ -v TEST_SPECIFIC_MODULES ]]; then
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -B -pl $TEST_SPECIFIC_MODULES $TEST_FLAGS
travis_wait 50 ./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -B -pl $TEST_SPECIFIC_MODULES $TEST_FLAGS
fi
- |
if [[ -v TEST_OTHER_MODULES ]]; then
Expand Down Expand Up @@ -182,7 +201,7 @@ script:
presto-product-tests/bin/run_on_docker.sh \
singlenode-cassandra -g cassandra
fi
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_3 ]]; then
presto-product-tests/bin/run_on_docker.sh \
multinode-tls-kerberos -g cli,group-by,join,tls
fi
Expand Down
104 changes: 102 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.235-SNAPSHOT</version>
<version>0.236-SNAPSHOT</version>
<packaging>pom</packaging>

<name>presto-root</name>
Expand Down Expand Up @@ -52,7 +52,7 @@
<dep.aws-sdk.version>1.11.445</dep.aws-sdk.version>
<dep.okhttp.version>3.9.0</dep.okhttp.version>
<dep.jdbi3.version>3.4.0</dep.jdbi3.version>
<dep.drift.version>1.22</dep.drift.version>
<dep.drift.version>1.23</dep.drift.version>
<dep.joda.version>2.10.5</dep.joda.version>
<dep.tempto.version>1.50</dep.tempto.version>
<dep.testng.version>6.10</dep.testng.version>
Expand Down Expand Up @@ -158,6 +158,11 @@
<module>presto-spark-launcher</module>
<module>presto-spark-testing</module>
<module>presto-druid</module>
<module>presto-common</module>
<module>twitter-eventlistener-plugin</module>
<module>presto-twitter-server</module>
<module>presto-twitter-functions</module>
<module>presto-twitter-server-rpm</module>
</modules>

<dependencyManagement>
Expand All @@ -181,6 +186,19 @@
<type>test-jar</type>
</dependency>

<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-common</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-common</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
</dependency>

<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-resource-group-managers</artifactId>
Expand Down Expand Up @@ -1034,6 +1052,12 @@
<version>3.6.1</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.4.2</version>
</dependency>

<dependency>
<groupId>com.facebook.airlift.discovery</groupId>
<artifactId>discovery-server</artifactId>
Expand Down Expand Up @@ -1444,6 +1468,54 @@
<version>1.1.7.1</version>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>4.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>4.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-client</artifactId>
<version>4.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
<version>2.12.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>com.github.luben</groupId>
<artifactId>zstd-jni</artifactId>
Expand All @@ -1470,6 +1542,26 @@
</exclusions>
</dependency>

<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
<version>0.10</version>
<exclusions>
<exclusion>
<artifactId>log4j</artifactId>
<groupId>log4j</groupId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.jgrapht</groupId>
<artifactId>jgrapht-core</artifactId>
Expand Down Expand Up @@ -1743,6 +1835,7 @@
<exclude>org.alluxio:alluxio-shaded-client</exclude>
<exclude>org.codehaus.plexus:plexus-utils</exclude>
<exclude>com.google.guava:guava</exclude>
<exclude>io.netty:netty</exclude>
</excludes>
</requireUpperBoundDeps>
</rules>
Expand Down Expand Up @@ -1778,6 +1871,13 @@
<extensions>true</extensions>
</plugin>

<plugin>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>provisio-maven-plugin</artifactId>
<version>0.1.40</version>
<extensions>true</extensions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
8 changes: 7 additions & 1 deletion presto-accumulo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-root</artifactId>
<version>0.235-SNAPSHOT</version>
<version>0.236-SNAPSHOT</version>
</parent>

<artifactId>presto-accumulo</artifactId>
Expand Down Expand Up @@ -269,6 +269,12 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-common</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
import com.facebook.presto.accumulo.model.AccumuloColumnHandle;
import com.facebook.presto.accumulo.model.TabletSplitMetadata;
import com.facebook.presto.accumulo.serializers.AccumuloRowSerializer;
import com.facebook.presto.common.predicate.Domain;
import com.facebook.presto.common.predicate.Marker.Bound;
import com.facebook.presto.spi.ColumnMetadata;
import com.facebook.presto.spi.ConnectorSession;
import com.facebook.presto.spi.ConnectorTableMetadata;
import com.facebook.presto.spi.PrestoException;
import com.facebook.presto.spi.SchemaTableName;
import com.facebook.presto.spi.TableNotFoundException;
import com.facebook.presto.spi.predicate.Domain;
import com.facebook.presto.spi.predicate.Marker.Bound;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
Expand Down Expand Up @@ -902,14 +902,14 @@ public static Collection<Range> getRangesFromDomain(Optional<Domain> domain, Acc
}

ImmutableSet.Builder<Range> rangeBuilder = ImmutableSet.builder();
for (com.facebook.presto.spi.predicate.Range range : domain.get().getValues().getRanges().getOrderedRanges()) {
for (com.facebook.presto.common.predicate.Range range : domain.get().getValues().getRanges().getOrderedRanges()) {
rangeBuilder.add(getRangeFromPrestoRange(range, serializer));
}

return rangeBuilder.build();
}

private static Range getRangeFromPrestoRange(com.facebook.presto.spi.predicate.Range prestoRange, AccumuloRowSerializer serializer)
private static Range getRangeFromPrestoRange(com.facebook.presto.common.predicate.Range prestoRange, AccumuloRowSerializer serializer)
throws TableNotFoundException
{
Range accumuloRange;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import com.facebook.presto.accumulo.io.AccumuloRecordSetProvider;
import com.facebook.presto.accumulo.metadata.AccumuloTable;
import com.facebook.presto.accumulo.metadata.ZooKeeperMetadataManager;
import com.facebook.presto.common.type.Type;
import com.facebook.presto.common.type.TypeManager;
import com.facebook.presto.spi.PrestoException;
import com.facebook.presto.spi.type.Type;
import com.facebook.presto.spi.type.TypeManager;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.deser.std.FromStringDeserializer;
import com.google.inject.Binder;
Expand All @@ -49,7 +49,7 @@
import static com.facebook.airlift.json.JsonBinder.jsonBinder;
import static com.facebook.airlift.json.JsonCodecBinder.jsonCodecBinder;
import static com.facebook.presto.accumulo.AccumuloErrorCode.UNEXPECTED_ACCUMULO_ERROR;
import static com.facebook.presto.spi.type.TypeSignature.parseTypeSignature;
import static com.facebook.presto.common.type.TypeSignature.parseTypeSignature;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.util.Objects.requireNonNull;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
import com.facebook.presto.accumulo.model.AccumuloTableLayoutHandle;
import com.facebook.presto.accumulo.model.TabletSplitMetadata;
import com.facebook.presto.accumulo.model.WrappedRange;
import com.facebook.presto.common.predicate.Domain;
import com.facebook.presto.common.predicate.TupleDomain;
import com.facebook.presto.common.predicate.TupleDomain.ColumnDomain;
import com.facebook.presto.spi.ColumnHandle;
import com.facebook.presto.spi.ConnectorSession;
import com.facebook.presto.spi.ConnectorSplit;
Expand All @@ -28,9 +31,6 @@
import com.facebook.presto.spi.FixedSplitSource;
import com.facebook.presto.spi.connector.ConnectorSplitManager;
import com.facebook.presto.spi.connector.ConnectorTransactionHandle;
import com.facebook.presto.spi.predicate.Domain;
import com.facebook.presto.spi.predicate.TupleDomain;
import com.facebook.presto.spi.predicate.TupleDomain.ColumnDomain;
import com.google.common.collect.ImmutableList;

import javax.inject.Inject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
*/
package com.facebook.presto.accumulo;

import com.facebook.presto.spi.type.StandardTypes;
import com.facebook.presto.spi.type.Type;
import com.facebook.presto.common.type.StandardTypes;
import com.facebook.presto.common.type.Type;

/**
* Utility class for Presto Type-related functionality.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

import java.util.List;

import static com.facebook.presto.common.type.VarcharType.VARCHAR;
import static com.facebook.presto.spi.session.PropertyMetadata.booleanProperty;
import static com.facebook.presto.spi.session.PropertyMetadata.doubleProperty;
import static com.facebook.presto.spi.session.PropertyMetadata.integerProperty;
import static com.facebook.presto.spi.session.PropertyMetadata.stringProperty;
import static com.facebook.presto.spi.type.VarcharType.VARCHAR;

/**
* Class contains all session-based properties for the Accumulo connector.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
import com.facebook.presto.accumulo.serializers.AccumuloRowSerializer;
import com.facebook.presto.accumulo.serializers.LexicoderRowSerializer;
import com.facebook.presto.accumulo.serializers.StringRowSerializer;
import com.facebook.presto.common.type.VarcharType;
import com.facebook.presto.spi.PrestoException;
import com.facebook.presto.spi.session.PropertyMetadata;
import com.facebook.presto.spi.type.VarcharType;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
import com.facebook.presto.accumulo.metadata.AccumuloTable;
import com.facebook.presto.accumulo.model.AccumuloColumnHandle;
import com.facebook.presto.accumulo.serializers.AccumuloRowSerializer;
import com.facebook.presto.common.type.Type;
import com.facebook.presto.spi.PrestoException;
import com.facebook.presto.spi.SchemaTableName;
import com.facebook.presto.spi.type.Type;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableMultimap;
Expand Down
Loading