Skip to content

Instantly share code, notes, and snippets.

View darrenfu's full-sized avatar
🏠
Working from home

Darren Fu darrenfu

🏠
Working from home
View GitHub Profile
@darrenfu
darrenfu / gist:921f20e8c4b2a783f4d2ddd339a7516b
Created January 12, 2023 00:01
DecodedVector::wrap() error
/Users/dofu/git/velox/cmake-build-debug/velox/vector/tests/velox_vector_test --gtest_filter=DecodedVectorTest.dictionaryOverConstant:DecodedVectorTest/*.dictionaryOverConstant:DecodedVectorTest.dictionaryOverConstant/*:*/DecodedVectorTest.dictionaryOverConstant/*:*/DecodedVectorTest/*.dictionaryOverConstant --gtest_color=no
Testing started at 4:00 PM ...
Running main() from /Users/dofu/git/velox/third_party/googletest/googletest/src/gtest_main.cc
WARNING: Logging before InitGoogleLogging() is written to STDERR
E20230111 16:00:40.975656 9289408 Exceptions.h:68] Line: /Users/dofu/git/velox/./velox/vector/DictionaryVector-inl.h:50, Function:setInternalState, Expression: rawIndices_[i] < dictionaryValues_->size() (10 vs. 10) Dictionary index must be less than base vector's size. Index: 5., Source: RUNTIME, ErrorCode: INVALID_STATE
E20230111 16:00:40.989362 9289408 Exceptions.h:68] Line: /Users/dofu/git/velox/./velox/vector/DictionaryVector-inl.h:50, Function:setInternalState, Expression: rawIndices_[i] < dictiona
This file has been truncated, but you can view the full file.
ONARY MAP<SMALLINT,DATE>: 100 elements, 6 nulls], [MAP MAP<SMALLINT,DATE>: 100 elements, no nulls]
I20230112 13:06:17.734676 9959358 ExpressionVerifier.cpp:34] [MAP MAP<SMALLINT,DATE>: 100 elements, no nulls]
I20230112 13:06:17.734683 9959358 ExpressionVerifier.cpp:34] [CONSTANT MAP<SMALLINT,DATE>: 100 elements, 10 elements starting at 110 {[110->86] [86->1] 18704 => 1654239-12-16, [111->199] [199->138] 10635 => 4369173-05-09, [112->189] [189->144] 29071 => 3422821-04-12, [113->219] [219->205] 12970 => 4644003-08-31, [114->175] [175->175] 24213 => 3046735-10-26, ...}], [MAP MAP<SMALLINT,DATE>: 23 elements, no nulls]
I20230112 13:06:17.734704 9959358 ExpressionVerifier.cpp:34] [DICTIONARY MAP<SMALLINT,DATE>: 100 elements, 9 nulls], [MAP MAP<SMALLINT,DATE>: 100 elements, no nulls]
I20230112 13:06:17.734712 9959358 ExpressionVerifier.cpp:34] [DICTIONARY MAP<SMALLINT,DATE>: 100 elements, 11 nulls], [DICTIONARY MAP<SMALLINT,DATE>: 100 elements, 11 nulls], [MAP MAP<SMALLINT,DATE>: 100 elements, no nulls]
I20230
@darrenfu
darrenfu / gist:683d5f2ab096b1e85fcb075fb2b39772
Created September 5, 2023 22:57
mvn versions:set -DnewVersion=jolly-20230905155251-0edf92498e -DgenerateBackupPoms=false
➜ prestodb_presto git:(master) mvn versions:set -DnewVersion=jolly-20230905155251-0edf92498e -DgenerateBackupPoms=false -X
Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
Maven home: /opt/homebrew/Cellar/maven/3.9.4/libexec
Java version: 1.8.0_382, vendor: Amazon.com Inc., runtime: /Users/dofu/.sdkman/candidates/java/8.0.382-amzn/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "13.5", arch: "aarch64", family: "mac"
[DEBUG] Reading global settings from /opt/homebrew/Cellar/maven/3.9.4/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/dofu/.m2/settings.xml
[DEBUG] Created adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static]
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/dofu/.m2/repository