This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import csv | |
import jira | |
parser = argparse.ArgumentParser(description='Create JIRA release epic branch issues.') | |
parser.add_argument('--file', metavar='file', type=str, help='Patches bookkeeping CSV file for releases') | |
parser.add_argument('--user', metavar='user', type=str, help='JIRA user') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 3c49cb3c86dd381ce331f19bcdbaa0b9f45afe66 | |
Author: Grzegorz Kokosiński <[email protected]> | |
Date: Sun Dec 2 22:16:17 2018 +0100 | |
ElasticsearchTableDescriptionProvider | |
diff --git a/presto-elasticsearch/src/main/java/com/facebook/presto/elasticsearch/ElasticsearchClient.java b/presto-elasticsearch/src/main/java/com/facebook/presto/elasticsearch/ElasticsearchClient.java | |
index 8c35fc9615..ed0b5adc29 100644 | |
--- a/presto-elasticsearch/src/main/java/com/facebook/presto/elasticsearch/ElasticsearchClient.java | |
+++ b/presto-elasticsearch/src/main/java/com/facebook/presto/elasticsearch/ElasticsearchClient.java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/presto-elasticsearch/src/main/java/com/facebook/presto/elasticsearch/ElasticsearchClient.java b/presto-elasticsearch/src/main/java/com/facebook/presto/elasticsearch/ElasticsearchClient.java | |
index 8c35fc9615..ed0b5adc29 100644 | |
--- a/presto-elasticsearch/src/main/java/com/facebook/presto/elasticsearch/ElasticsearchClient.java | |
+++ b/presto-elasticsearch/src/main/java/com/facebook/presto/elasticsearch/ElasticsearchClient.java | |
@@ -70,20 +70,19 @@ public class ElasticsearchClient | |
private static final Logger LOG = Logger.get(ElasticsearchClient.class); | |
private final ObjectMapper objecMapper = new ObjectMapperProvider().get(); | |
- private final Map<SchemaTableName, ElasticsearchTableDescription> tableDescriptions; | |
+ private final ElasticsearchTableDescriptionProvider tableDescriptions; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit d4d385b1593f42880c40a414319198304a429c24 | |
Author: Grzegorz Kokosiński <[email protected]> | |
Date: Thu Dec 13 13:23:20 2018 +0100 | |
Disable ranger | |
diff --git a/.travis.yml b/.travis.yml | |
index 56d10ab79e..0e6b5c4869 100644 | |
--- a/.travis.yml | |
+++ b/.travis.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
presto-product-tests/conf/docker/singlenode-kerberos-hdfs-impersonation/compose.sh run application-runner java -jar "/docker/volumes/presto-cli/presto-cli-executable.jar" --server https://presto-master.docker.cluster:7778 --keystore-path /docker/volumes/conf/presto/etc/docker.cluster.jks --keystore-password 123456 --enable-authentication --krb5-config-path /etc/krb5.conf --krb5-principal presto-client/[email protected] --krb5-keytab-path /etc/presto/conf/presto-client.keytab --krb5-remote-service-name presto-server --krb5-disable-remote-service-hostname-canonicalization "${@}" | |
#./presto-product-tests/conf/docker/singlenode-kerberos-hdfs-impersonation/compose.sh run application-runner java -jar /docker/volumes/presto-cli/presto-cli-executable.jar --server presto-master:8080 "${@}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -exuo pipefail | |
# Usage <file with thread dumps> <output dir> | |
rm -rf $2 | |
mkdir $2 | |
cp $1 $2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
ticks_to_collect=${1:-120} | |
presto_pids=$(sudo ps aux | grep PrestoServer | grep -v grep | awk '{ print $2 }') | |
for i in $(seq $ticks_to_collect); do | |
for presto_pid in $presto_pids; do | |
sudo kill -3 $presto_pid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
schemas_count=500 | |
tables_count=120 | |
catalog=hive | |
echo "CREATE SCHEMA IF NOT EXISTS $catalog.schema_0;" | |
for s in `seq $schemas_count`; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Author: Matt Fuller | |
* | |
* This is a basic test program I wrote while learning ODBC. It connects to a MySQL database I have running. | |
* I mostly followed the tutorial here: | |
* http://www.easysoft.com/developer/languages/c/odbc_tutorial.html | |
*/ | |
#ifdef _WIN64 | |
#include <windows.h> | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/presto-main/src/test/java/com/facebook/presto/sql/planner/TestDomainTranslator.java b/presto-main/src/test/java/com/facebook/presto/sql/planner/TestDomainTranslator.java | |
index 209c21ca22..8d6d00df1a 100644 | |
--- a/presto-main/src/test/java/com/facebook/presto/sql/planner/TestDomainTranslator.java | |
+++ b/presto-main/src/test/java/com/facebook/presto/sql/planner/TestDomainTranslator.java | |
@@ -879,11 +879,31 @@ public class TestDomainTranslator | |
new InListExpression(ImmutableList.of(toExpression(1L, BIGINT)))), | |
withColumnDomains(ImmutableMap.of(C_SMALLINT, Domain.singleValue(SMALLINT, 1L)))); | |
+ DecimalType decimalType_12_2 = createDecimalType(12, 2); | |
+ DecimalType decimalType_6_1= createDecimalType(6, 1); |