Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
794 commits
Select commit Hold shift + click to select a range
d16fdc2
Remove path from ConnectorSession
electrum Oct 1, 2018
afd294f
Fix race condition in remote task final info visibility
dain Nov 6, 2018
fe743c0
Revert "Fix memory leak for failed queries"
dain Nov 6, 2018
b09ea18
Improve GuardedBy coverage in SqlStageExecution
dain Nov 6, 2018
9011cfb
Increase timeouts in TestStateMachine
dain Nov 6, 2018
1fb288a
Increase timeout of TestDriver.testConcurrentClose
dain Nov 6, 2018
d011454
Only create FinalizerService executor if started
dain Nov 6, 2018
522d6fc
Null out executors in TestSqlStageExecution.tearDown
dain Nov 6, 2018
0b93d49
Fix deployment of presto-jdbc artifact
Nov 7, 2018
87f7e51
Support reading DWRF flat map
kevinwilfong Jul 19, 2018
3c15bb1
Add unprocessed catalog properties to query events
dain Nov 7, 2018
23de11f
Lazily build hashtable for MapBlock
Oct 26, 2018
290f5be
Replace floorMod with faster reduction function
Nov 1, 2018
4f679c6
Enable stats calculator by default
arhimondr Nov 6, 2018
b5fb41f
Ignore failures in stats and cost calculator
arhimondr Nov 6, 2018
df56cfa
Update AWS SDK to version 1.11.445
Nov 8, 2018
4b445d1
Use ForwardingConnectorAccessControl for PartitionsAwareAccessControl
kokosing Nov 8, 2018
d1df27f
Do not fail glue tests on codestyle errors
kokosing Nov 9, 2018
f1ed60d
Use Optional for nullable field in HiveConnectorFactory
kokosing Nov 8, 2018
5a5c46f
Add assertion about plan for tests involving grouped execution
haozhun Oct 19, 2018
ebeb17c
Rename and add comments to methods in BucketSplitInfo
haozhun Nov 6, 2018
2323e95
Add plan partitioning sanity check for TableWriter in PlanFragmenter
haozhun Nov 6, 2018
57c70ae
Improve query plan when Hive tables have compatible bucketing
haozhun Nov 6, 2018
86e24d9
Add a new error code for administrative query pre-emption
cemcayiroglu Nov 7, 2018
cd8dcd2
Add warnings to the webapp
Oct 26, 2018
e5b1c74
Update joda to 2.10
haozhun Nov 10, 2018
3d04e20
Remove unused ObjectMapper supplier
electrum Nov 12, 2018
d2c6309
Add JSON type constructor tests containing nulls
electrum Nov 12, 2018
3ce9339
Add missing @JsonCreator annotations
electrum Nov 12, 2018
19b25ad
Update SQL Server JDBC driver to 7.0.0
electrum Nov 12, 2018
545ca8a
Update to ZooKeeper 3.4.13
electrum Nov 12, 2018
7f9e06a
Update to Airbase 88 and Airlift 0.176
electrum Nov 12, 2018
466168f
Make FloatPointBitsConverterUtil class visibility public
tdcmeehan Oct 9, 2018
2d04494
Implement qdigest type and associated functions
tdcmeehan Oct 9, 2018
db4b585
Add support for lambdas in ExpressionEquivalence
sopel39 Nov 13, 2018
7dfbe1b
Fix distributed spatial join over union
mbasmanova Nov 14, 2018
cd62565
Allow StringStatistics with both min and max set to null
arhimondr Nov 14, 2018
8a143be
Give Hive "split buffering limit" error a specific error code
haozhun Nov 15, 2018
c6134c4
Do not call mergeColumnStatistics when not needed
arhimondr Nov 15, 2018
cf4c8d4
Add release notes for 0.214
Nov 15, 2018
baddf3d
[maven-release-plugin] prepare release 0.214
Nov 21, 2018
402ff29
[maven-release-plugin] prepare for next development iteration
Nov 21, 2018
c5451f1
Fix expand button for stage skew component
raghavsethi Nov 3, 2018
75a2b97
Improve performance for thread snapshot component
raghavsethi Nov 3, 2018
a4ce7f3
Separate developer dependencies from runtime dependencies
raghavsethi Nov 4, 2018
57f0db6
Remove legacy thread UI
raghavsethi Nov 4, 2018
e2aa9e1
Enable flow type checks on utils.js
raghavsethi Nov 4, 2018
f5623f6
Enable flow and reduce jQuery use in PageTitle
raghavsethi Nov 5, 2018
015fec0
Enable flow and clean up LivePlan
raghavsethi Nov 5, 2018
25ba2f2
Add Travis check for Flow warnings
raghavsethi Nov 14, 2018
def8a24
Document Hive connector procedure call to create empty partition
wenleix Oct 12, 2018
5d3fbee
Drop snappy test table in the same way as it was created
kokosing Nov 13, 2018
cb9ef00
Annotate redis.password with @ConfigSecuritySensitive
kokosing Nov 10, 2018
33f4e12
Add rawInputDataSize to OperatorStats
sopel39 Oct 29, 2018
8a3179d
Rename OperatorContext#recordGeneratedOutput to recordOutput
sopel39 Nov 14, 2018
7a00b7f
Rename OperatorContext#recordGeneratedInput to recordProcessedInput
sopel39 Nov 14, 2018
cf76674
Use raw input data size metrics in operators
sopel39 Nov 1, 2018
53acc80
Document OperatorContext#recordRawInput and recordProcessedInput
sopel39 Nov 14, 2018
55c1001
Minor change in finalizing task creation condition
wenleix Nov 1, 2018
fadbdab
Refactor SourcePartitionedScheduler as SourceScheduler
wenleix Nov 4, 2018
6a654d9
Minor fix to ScheduleResult#toString
wenleix Nov 22, 2018
2ccb19b
Reveal partial TopN in plan
findepi Nov 14, 2018
7799bff
Upgrade Postgres JDBC driver
findepi Nov 2, 2018
77d1ed2
Move Tpch/TpcdsCostBasedPlanTest to presto-benchto-queries module
sopel39 Nov 20, 2018
c094386
Update logback version to 1.2.3
sopel39 Nov 20, 2018
cf4854a
Merge presto-benchto-queries into presto-benchto-benchmarks
sopel39 Nov 20, 2018
42d3422
Move dep.logback.version param to main pom.xml
sopel39 Nov 21, 2018
76b342d
Remove unused StatementAnalyzer#analyzeWhere method
sopel39 Nov 21, 2018
40884d6
Remove excessive argument in JS call
ilfrin Nov 21, 2018
c0af7a7
Fix Cumulative User Memory UI presentation
ilfrin Nov 21, 2018
39a41ba
Print only table name in AbstractCostBasedPlanTest
sopel39 Nov 22, 2018
ebdbe93
Remove column properties when removing connector
davidlao2k Nov 19, 2018
8da8c2a
Fix SystemConnectorTests.selectRuntimeQueries test
ilfrin Sep 19, 2018
c6759c0
Improve PreparedStatements test for VARBINARY
ilfrin Sep 19, 2018
ce7823f
Remove extra normalization in FilterStatsCalculator
arhimondr Oct 31, 2018
9756662
Fix error message in StatsNormalizer
arhimondr Oct 31, 2018
d69835c
Add extra checks for unknown stats in FilterStatsCalculator
arhimondr Oct 31, 2018
7b60155
Remove unused methods from SymbolStatsEstimate
arhimondr Nov 1, 2018
c26a661
Support multiple conventions in PolymorphicScalarFunction
cemcayiroglu Oct 19, 2018
f7a528b
Don't record raw input for ValuesOperator
sopel39 Nov 22, 2018
84d21fc
Don't record raw input for LocalExchangeSourceOperator
sopel39 Nov 22, 2018
fad9509
Don't record raw input for LocalMergeSourceOperator
sopel39 Nov 22, 2018
9ee43ab
Use named constant in stats aggregation output channel
wenleix Nov 5, 2018
cd8ace6
Fail query that uses non-leaf resource group
Oct 31, 2018
d302ec1
Refactor JoinStatsRule#addJoinComplementStats
arhimondr Oct 31, 2018
f25e87c
Normalize intermediate stats in JoinStatsRule
arhimondr Nov 20, 2018
f5cacf0
Add additional division by zero checks to JoinStatsRule
arhimondr Nov 5, 2018
8136f86
Fix typo in variable name
kasiafi Oct 31, 2018
38dd1fc
Apply spatial joins to ST_Within
Nov 13, 2018
a5d5ecb
Add input validation checks to ST_LineString
Nov 15, 2018
49b3f74
Simpify domain before parsing for EXPLAIN (TYPE IO)
shixuan-fan Oct 15, 2018
3bd083a
Fix variable name typo in ArrayNgramsFunction
Nov 27, 2018
d4a11d8
Fix 'Capture Snapshot' button for showing threads
findepi Nov 26, 2018
b957f9b
Improve performance for DictionaryBlock.getSizeInBytes
rongrong Oct 18, 2018
a99670e
Update the batch resizing heuristic in PageProcessor
Oct 26, 2018
7e65ddc
Support predicate pushdown for DATE type with Parquet
ryanrupp Nov 12, 2018
a6ed0be
Add RowNumber stats and cost rules
arhimondr Nov 12, 2018
f6ce1f5
Add parse_presto_data_size function
arhimondr Oct 12, 2018
afe8811
Update to Airlift 0.177
Nov 28, 2018
a77b3eb
Rename nodePartitioning variables to tablePartitioning
Nov 14, 2018
3b645df
Remove old zstd decoder implementation
martint Oct 9, 2018
28064db
Use MAP_FROM_ENTRIES in JSON map example
Daniel15 Sep 7, 2018
7a06002
Add beta_cdf and inverse_beta_cdf math functions
Nov 26, 2018
4d6999c
Rename TestHiveClientS3 to TestHiveFileSystemS3
kokosing Nov 29, 2018
e0a1049
Remove deprecated add/alter partition methods
arhimondr Nov 29, 2018
8445be0
Check for zero row count in StatsNormalizer
arhimondr Nov 29, 2018
dad7087
Fix mistake in TestSemiJoinStatsCalculator
arhimondr Nov 29, 2018
1aa3f60
Avoid division by zero in SemiJoinStatsCalculator
arhimondr Nov 29, 2018
fa3fec4
Add additional NaN check in ScalarStatsCalculator#visitArithmeticBinary
arhimondr Nov 29, 2018
03d3538
Add additional checks to StatisticRange
arhimondr Nov 29, 2018
b06eb0e
Make connector bucket to node map optional
wenleix Oct 11, 2018
fd35b98
Introduce BucketNodeMap
wenleix Oct 11, 2018
ec00d5b
Support dynamic node assignment for grouped execution
wenleix Oct 12, 2018
3105758
Make FixedLifespanScheduler a top level class
wenleix Oct 31, 2018
d87a80e
Minor fix in SqlQueryScheduler
wenleix Oct 31, 2018
bab9576
Move SettableFuture#set outside critical section
wenleix Oct 31, 2018
c2c5407
Add session property for grouped execution dynamic schedule
wenleix Oct 31, 2018
1ecde8d
Move InvocationConvention to function package
electrum Dec 2, 2018
d7ae911
Add embeddable live plan HTML view
raghavsethi Dec 3, 2018
dff6607
Fix SpatialJoinNode.DistributionType comparison
arhimondr Nov 27, 2018
bd43dd0
Estimate union cost in CostCalculatorWithEstimatedExchanges
arhimondr Nov 27, 2018
270fb65
Introduce TaskCountEstimator
arhimondr Nov 28, 2018
843aefd
Determine join distribution type based on stats
arhimondr Nov 27, 2018
2c33769
Optionally use default filter factor to estimate filter node
rschlussel Nov 12, 2018
ad05dcb
Fix bug in MapBlock hashtable lazy build
Nov 29, 2018
65edf49
Accelerate build-side geometries in spatial join
jagill Nov 29, 2018
e953b9f
Fix TestColumnarPageProcessor
Dec 10, 2018
75390c3
Fix assertion in tryUpdateUserMemory method
Dec 10, 2018
62f7c99
Create new PageProcessor for each TestColumnarPageProcessor test
Dec 10, 2018
82081a8
Add documentation for security.refresh-period
mattsfuller Nov 2, 2018
22e6917
Add release notes for 0.215
Dec 14, 2018
0cd02a9
[maven-release-plugin] prepare release 0.215
mbasmanova Dec 15, 2018
26f8de9
[maven-release-plugin] prepare for next development iteration
mbasmanova Dec 15, 2018
d452a6d
Retain last entry when reading node.properties
willmostly Dec 11, 2018
e351a2a
Add missing @Nullable annotations
findepi Dec 12, 2018
7895cdd
Add basic TupleDomain#toString
findepi Dec 13, 2018
4662eb4
Fix Kudu example configuration docs
kokosing Dec 7, 2018
cdd456f
Fix typo in product test group name
kokosing Dec 7, 2018
e6f6507
fix the client hang problem after query failed
Oct 31, 2018
da6c63c
add config for whether or not wait for final stats after query failed
Nov 10, 2018
f5df4c9
add test for query.wait-stats-after-failed-enabled
Nov 16, 2018
e60baed
add test for testDefaults
Nov 16, 2018
e850e16
Remove config for whether or not wait for final status for failed query
Dec 11, 2018
2598dce
Add minor state check to PartitionedLookupSourceFactory
wenleix Dec 6, 2018
e2ec641
Fix Live Plan UI for index joins
Dec 12, 2018
a590838
Add missing tests to DateTimeFunctions
kasiafi Dec 11, 2018
28ec8f4
Add millisecond function
kasiafi Oct 31, 2018
834b01c
Correct read time stats in ParquetPageSource
qqibrow Sep 18, 2018
d882abc
Add suppressed exceptions to tear down exceptions in verifier
Dec 11, 2018
786ccbd
Add empty check for types in ORC file
wenleix Dec 10, 2018
b845cd6
Add block/position convention to all distinct from operators
gerlou Aug 13, 2018
a91bef2
Pick max distinct values in ExchangeStatsRule
arhimondr Dec 6, 2018
f01261e
Remove SHOW STATS ON table syntax
viczhang861 Oct 9, 2018
ba9e151
Refactor TestShowStats
viczhang861 Oct 9, 2018
d25723b
Reject SHOW STATS with a non-* column list
viczhang861 Oct 9, 2018
2a60cf7
Restrict SHOW STATS to predicates that can be pushed down
viczhang861 Oct 5, 2018
81b0521
Skip all-false nullness array in ArrayBlockBuilder
findepi Dec 12, 2018
8ac4b84
Use JVM time zone rules in Joda
haozhun Nov 10, 2018
311618c
Fix potential overflow in position size calculation
electrum Dec 13, 2018
535ba62
Add generics for alternatingNullValues helper
electrum Dec 13, 2018
84235b0
Include nulls in dictionary block logical size
electrum Dec 13, 2018
79a5e21
Cleanup warnings in HiveNodePartitioningProvider
electrum Dec 2, 2018
3239311
Check for negative buckets in ConnectorBucketNodeMap
electrum Dec 2, 2018
24f279a
Make ConnectorBucketNodeMap a top level class
electrum Dec 2, 2018
8284c09
Fix this leak when adding listeners in a constructor
dain Nov 24, 2018
d883ecb
Immediately fire current state in StateMachine addStateChangeListener
dain Nov 24, 2018
7f45d08
Remove unused testing QueryStats constructor
dain Nov 7, 2018
803ee6e
Simplify and cleanup QueryStateMachine
dain Nov 4, 2018
5d0fdd2
Improve QueryStateMachine test stats coverage
dain Nov 8, 2018
00e579f
Fix query execution time calculation
dain Nov 7, 2018
90dae1b
Move QueryStateMachine timings to new QueryStateTimer
dain Nov 5, 2018
b9d8db7
Produce all query timings for query regardless of state
dain Nov 7, 2018
2aa311c
Port PageProcessor to WorkProcessor
sopel39 Nov 5, 2018
e4018cf
Remove PageProcessorOutput
sopel39 Nov 5, 2018
6a260d5
Rename pageBuilderMemoryContext to outputMemoryContext
sopel39 Nov 5, 2018
2226f67
Use simple memory context for tracking page processor memory
sopel39 Nov 5, 2018
15f6462
Rename page to resultPage
sopel39 Nov 5, 2018
efd0834
Update retained size in PageProcessor less eagerly
sopel39 Nov 5, 2018
f73f8f0
Rename isUnloadedLazyBlock to isNotLoadedLazyBlock
sopel39 Nov 30, 2018
0715fbb
Fix double planning in assertPlannerWarnings
findepi Dec 17, 2018
f9c887e
Add additional zero and unknown checks in PlanNodeStatsEstimateMath
arhimondr Nov 24, 2018
5f6be90
Replace differenceInStats with subtract and symmetricDifference
arhimondr Dec 11, 2018
4cb4d19
Fix SemiTransactionalHiveMetastore error message
Dec 12, 2018
d6d2ca5
Do not change explicitly selected join distribution type
arhimondr Dec 17, 2018
0195ffd
Use list instead of map for bucket-to-node
electrum Dec 6, 2018
a618212
Remove unused PUBLIC token from parser
electrum Dec 17, 2018
bf50f82
Fix typo in variable name
rschlussel Nov 28, 2018
0005ede
Fix a typo in the description of the bing_tile_at function
mbasmanova Dec 17, 2018
0bfe80b
Fail loudly with corrupted Parquet statistics
zhenxiao Dec 8, 2018
1dec59f
Fix ARRAY_DISTINCT wrong results on NULL and 0
Dec 18, 2018
4d29122
Leave trace in logs when query is moved to RESERVED_POOL
findepi Dec 19, 2018
6876461
Change representation of EnforceSingleRowNode in EXPLAIN
findepi Dec 20, 2018
568d4ae
Remove unused field from FragmentProperties
arhimondr Dec 20, 2018
a9d13dd
Refactor PlanFragmenter
arhimondr Dec 20, 2018
de61e7d
Remove unnecessary properties from mongo session
rschlussel Dec 18, 2018
73862a6
Add mongo tests to travis build
rschlussel Dec 20, 2018
6c58f69
Update to Kudu client 1.8.0
MartinWeindel Nov 5, 2018
895f759
Emit Kudu table property number_of_replicas in SHOW CREATE TABLE
MartinWeindel Nov 8, 2018
f4103ea
Add joda-to-java-time-bridge dependency in example connector
haozhun Dec 20, 2018
c5f521e
Fix bug in ARRAY_INTERSECT
Dec 20, 2018
9ba5ed7
Remove PartitionedLookupSourceFactory specific methods from interface
wenleix Dec 6, 2018
5c0d510
Remove incorrect quotes from SQL snippet
xubo245 Dec 22, 2018
080a6a1
Support lambda in aggregation functions
wenleix Dec 16, 2018
3df20da
Simplify BucketSplitInfo creation expression
electrum Dec 19, 2018
43bd519
Add support for query pushdown to S3 using S3 Select
Jul 13, 2018
7d48abc
Report attempted allocation when memory limit exceeded
findepi Dec 28, 2018
8b2d263
Fix Kudu build to not enable Javadoc by default
electrum Dec 30, 2018
ce75666
Change ARRAY_INTERSECT to use TypedSet
Nov 27, 2018
7599a11
Update to Airlift 0.178
electrum Dec 30, 2018
f98f3af
Validate Joda-Time bridge in plugin class loaders
electrum Dec 30, 2018
eea9e8d
Remove obsolete test files
findepi Dec 31, 2018
e80bd99
Fix a typo in requireNonNull() message
rzeyde-varada Jan 1, 2019
fa5cf88
Remove useless "tpch:" from TpchTableHandle toString
findepi Dec 31, 2018
0122984
Remove unused connectorId from TpchTableHandle
findepi Dec 31, 2018
80a2180
Replace this lambda with a method reference
igor-suhorukov Feb 10, 2018
6774e47
Remove code duplication between executeQueryControl and executeQueryTest
shixuan-fan Oct 26, 2017
b712beb
Add option to skip dropping temporary tables upon checksum failure
shixuan-fan Dec 14, 2017
5d231d1
Remove unused parameter from TestingPrestoClient::convertToRowValue
Dec 29, 2018
52e332c
Mark fields as final
Dec 29, 2018
bd96c0f
Simplify assertions
Dec 29, 2018
6d85fc1
Simplify Docker instructions for product-tests
electrum Dec 20, 2018
ef16eb8
Cleanup code in FileSingleStreamSpiller
electrum Dec 18, 2018
b6addd4
Avoid query failures during partition pruning
electrum Nov 8, 2018
12a0753
Allow cassandra to override default protocol version
RobinUS2 May 5, 2017
7c7084d
Move tests out of big_query test group
kokosing Dec 21, 2018
6dc08b6
Run sphinx-build in parallel
kokosing Jan 3, 2019
54d46f3
Remove node_id column from system.runtime.queries
findepi Dec 23, 2018
4e46ee1
Fix GROUP BY over EXTRACT test to not constant-fold
electrum Jan 1, 2019
fe6635b
Push predicates through windows for predicates on partition symbols
wagnermarkd Dec 7, 2018
b1bb391
Fix Count(*) on empty relation returns NULL when optimize_mixed_disti…
kaka11chen Dec 20, 2018
03df34f
Enable char predicates to be pushed down
cbanek Dec 19, 2018
93f7571
Update kafka docs
Dec 27, 2018
8db7641
Fix integer overflow when turning dictionary into direct
wenleix Dec 5, 2018
c70e57e
Update properties docs
Jan 7, 2019
b440bd4
Fix IntelliJ warnings in StageStateMachine
dain Jan 5, 2019
4fe2f45
Remove unused stage schedule task and add split distributions
dain Jan 5, 2019
a8dacb4
Prevent new tasks from being created in a done state
dain Jan 4, 2019
cfe7c42
Remove unused StageStateMachine get info with child stages
dain Jan 5, 2019
6259a21
Require stage to be in a done state before all tasks final is set
dain Jan 5, 2019
8412a1f
Ensure final stage info is never changed
dain Jan 5, 2019
79f480b
Revert lazy build hashtable
Jan 8, 2019
aa30539
Fix finalizing task creation condition in SourcePartitionedScheduler
wenleix Jan 13, 2019
d6d6764
Fix theoretical incorrect block condition in SourcePartitionedScheduler
wenleix Jan 13, 2019
f7fd526
Update joda-to-java-time-bridge to version 3
Jan 17, 2019
790f4af
Remove registration of JdkBasedZoneInfoProvider
Jan 17, 2019
5c6bf5f
Update year to 2019 in verifySystemTimeIsReasonable
Jan 17, 2019
559aaa9
Document reduce_agg aggregate function
wenleix Jan 8, 2019
74a1c9c
Update references to Presto website
Jan 23, 2019
868c9f3
Add release notes for 0.216
mbasmanova Jan 7, 2019
a5e6af8
Merge branch 'master' of https://github.com/ameyaKetkar/presto
ameyaKetkar Jan 24, 2019
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/ linguist-generated=true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ benchmark_outputs
.checkstyle
.mvn/timing.properties
.editorconfig
node_modules
20 changes: 16 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ env:
- TEST_FLAGS=""
matrix:
- MAVEN_CHECKS=true
- WEBUI_CHECKS=true
- TEST_SPECIFIC_MODULES=presto-tests
- TEST_SPECIFIC_MODULES=presto-tests TEST_FLAGS="-P ci-only"
- TEST_SPECIFIC_MODULES=presto-raptor
- TEST_SPECIFIC_MODULES=presto-accumulo
- TEST_SPECIFIC_MODULES=presto-cassandra
- TEST_SPECIFIC_MODULES=presto-hive
- TEST_SPECIFIC_MODULES=presto-main
- TEST_OTHER_MODULES=!presto-tests,!presto-raptor,!presto-accumulo,!presto-cassandra,!presto-hive,!presto-kudu,!presto-docs,!presto-server,!presto-server-rpm,!presto-main
- TEST_SPECIFIC_MODULES=presto-mongodb
- TEST_OTHER_MODULES=!presto-tests,!presto-raptor,!presto-accumulo,!presto-cassandra,!presto-hive,!presto-kudu,!presto-docs,!presto-server,!presto-server-rpm,!presto-main,!presto-mongodb
- PRODUCT_TESTS_BASIC_ENVIRONMENT=true
- PRODUCT_TESTS_SPECIFIC_ENVIRONMENT=true
- PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2=true
Expand All @@ -28,6 +30,7 @@ sudo: required
dist: trusty

cache:
yarn: true
directories:
- $HOME/.m2/repository

Expand Down Expand Up @@ -78,6 +81,10 @@ script:
if [[ -v MAVEN_CHECKS ]]; then
./mvnw install -DskipTests -B -T C1 -P ci
fi
- |
if [[ -v WEBUI_CHECKS ]]; then
presto-main/bin/check_webui.sh
fi
- |
if [[ -v TEST_SPECIFIC_MODULES ]]; then
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -B -pl $TEST_SPECIFIC_MODULES $TEST_FLAGS
Expand All @@ -89,12 +96,12 @@ script:
- |
if [[ -v PRODUCT_TESTS_BASIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
multinode -x quarantine,big_query,storage_formats,profile_specific_tests,tpcds,cassandra,mysql_connector,postgresql_connector,mysql,kafka
multinode -x quarantine,big_query,storage_formats,profile_specific_tests,tpcds,cassandra,mysql_connector,postgresql_connector,mysql,kafka,avro
fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode -g hdfs_no_impersonation
singlenode -g hdfs_no_impersonation,avro
fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
Expand All @@ -111,6 +118,11 @@ script:
presto-product-tests/bin/run_on_docker.sh \
singlenode-kerberos-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation,authorization,hive_file_header
fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode-kerberos-hdfs-impersonation-cross-realm -g storage_formats,cli,hdfs_impersonation
fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2 ]]; then
presto-product-tests/bin/run_on_docker.sh \
Expand Down Expand Up @@ -174,7 +186,7 @@ script:
if [[ -v HIVE_TESTS && -v HIVE_TESTS_AWS_ACCESS_KEY_ID ]]; then
env AWS_ACCESS_KEY_ID=$HIVE_TESTS_AWS_ACCESS_KEY_ID \
AWS_SECRET_ACCESS_KEY=$HIVE_TESTS_AWS_SECRET_ACCESS_KEY \
./mvnw -pl presto-hive test -B -P test-hive-glue
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -B -pl presto-hive -P test-hive-glue
fi
- |
if [[ -v KUDU_TESTS ]]; then
Expand Down
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Presto is a distributed SQL query engine for big data.

See the [User Manual](https://prestodb.io/docs/current/) for deployment instructions and end user documentation.
See the [User Manual](https://prestodb.github.io/docs/current/) for deployment instructions and end user documentation.

## Requirements

* Mac OS X or Linux
* Java 8 Update 92 or higher (8u92+), 64-bit. Both Oracle JDK and OpenJDK are supported.
* Java 8 Update 151 or higher (8u151+), 64-bit. Both Oracle JDK and OpenJDK are supported.
* Maven 3.3.9+ (for building)
* Python 2.4+ (for running with the launcher script)

Expand Down Expand Up @@ -72,7 +72,7 @@ In the sample configuration, the Hive connector is mounted in the `hive` catalog

SHOW TABLES FROM hive.default;

## Developers
## Code Style

We recommend you use IntelliJ as your IDE. The code style template for the project can be found in the [codestyle](https://github.com/airlift/codestyle) repository along with our general programming and Java guidelines. In addition to those you should also adhere to the following:

Expand All @@ -84,3 +84,19 @@ We recommend you use IntelliJ as your IDE. The code style template for the proje
* Avoid using the ternary operator except for trivial expressions.
* Use an assertion from Airlift's `Assertions` class if there is one that covers your case rather than writing the assertion by hand. Over time we may move over to more fluent assertions like AssertJ.
* When writing a Git commit message, follow these [guidelines](https://chris.beams.io/posts/git-commit/).

## Building the Web UI

The Presto Web UI is composed of several React components and is written in JSX and ES6. This source code is compiled and packaged into browser-compatible Javascript, which is then checked in to the Presto source code (in the `dist` folder). You must have [Node.js](https://nodejs.org/en/download/) and [Yarn](https://yarnpkg.com/en/) installed to execute these commands. To update this folder after making changes, simply run:

yarn --cwd presto-main/src/main/resources/webapp/src install

If no Javascript dependencies have changed (i.e., no changes to `package.json`), it is faster to run:

yarn --cwd presto-main/src/main/resources/webapp/src run package

To simplify iteration, you can also run in `watch` mode, which automatically re-compiles when changes to source files are detected:

yarn --cwd presto-main/src/main/resources/webapp/src run watch

To iterate quickly, simply re-build the project in IntelliJ after packaging is complete. Project resources will be hot-reloaded and changes are reflected on browser refresh.
Loading