Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ext.versions = [
commons_lang3: '3.3.2',
commons_dbcp2: '2.1',
hive_jdbc : '0.13.1-5',
hive : '1.2.0-2',
hive : '3.0.0-2',
presto : '0.181',
reflections : '0.9.9',
bytebuddy : '0.7-rc2',
Expand All @@ -56,7 +56,7 @@ ext.versions = [
jackson : '2.4.4',
cassandra : '3.4.0',
commons_cli : '1.3.1',
thrift : '0.9.1',
thrift : '0.9.3',
kafka : '0.11.0.2',
zkclient : '0.10'
]
Expand Down Expand Up @@ -121,9 +121,6 @@ ext.nexusUsername = 'setup_nexusUsername_in_gradle.properties'
ext.nexusPassword = 'setup_nexusPassword_in_gradle.properties'
ext.skipSigning = false

task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}

subprojects {
// project information
Expand Down
16 changes: 1 addition & 15 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#Wed Mar 18 11:08:11 CET 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-6.6-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http://services.gradle.org/distributions/gradle-2.3-all.zip
115 changes: 67 additions & 48 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 20 additions & 10 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,6 @@ private static Decimal toHiveDecimal(Object objectValue, int scale)
{
double value = ((Number) objectValue).doubleValue();
BigInteger bigInteger = BigInteger.valueOf(Math.round(value * scale));
return new Decimal(ByteBuffer.wrap(bigInteger.toByteArray()), checkedCast(scale));
return new Decimal(checkedCast(scale), ByteBuffer.wrap(bigInteger.toByteArray()));
}
}
2 changes: 1 addition & 1 deletion tempto-examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

plugins {
id 'java' // or 'groovy' Must be explicitly applied
id 'com.github.johnrengelman.shadow' version '1.2.2'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}

apply plugin: 'com.github.johnrengelman.shadow'
Expand Down
4 changes: 2 additions & 2 deletions tempto-examples/docker/presto-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM teradatalabs/centos6-java8-oracle
MAINTAINER Grzegorz Kokosiński <grzegorz.kokosinksi@teradata.com>
FROM prestodb/centos6-oj8
MAINTAINER Presto community <https://prestodb.io/community.html>

RUN curl -SL http://search.maven.org/remotecontent?filepath=com/facebook/presto/presto-cli/0.181/presto-cli-0.181-executable.jar -o presto-cli.jar

4 changes: 2 additions & 2 deletions tempto-examples/docker/presto-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM teradatalabs/centos6-java8-oracle
MAINTAINER Grzegorz Kokosiński <grzegorz.kokosinksi@teradata.com>
FROM prestodb/centos6-oj8
MAINTAINER Presto community <https://prestodb.io/community.html>

RUN yum install -y tar

Expand Down
4 changes: 2 additions & 2 deletions tempto-examples/docker/ssh/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM teradatalabs/centos6-java8-oracle
MAINTAINER Grzegorz Kokosiński <grzegorz.kokosinksi@teradata.com>
FROM prestodb/centos6-oj8
MAINTAINER Presto community <https://prestodb.io/community.html>

RUN yum install -y openssh-server openssh-clients passwd
RUN echo s3cr37_p@55 | passwd --stdin root
Expand Down