Skip to content

Commit 666e46b

Browse files
committed
log
1 parent 67b5711 commit 666e46b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cpp/velox/jni/VeloxJniWrapper.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,7 @@ JNIEXPORT jlong JNICALL Java_org_apache_gluten_vectorized_HashJoinBuilder_native
10641064
auto* cache = facebook::velox::exec::HashTableCache::instance();
10651065

10661066
if (!cache->hasTable(hashTableId)) {
1067+
std::cout << "VeloxJniWrapper inject hash table id is " << hashTableId << "\n";
10671068
cache->injectTable(hashTableId, builder->hashTable(), builder->joinHasNullKeys(), defaultLeafVeloxMemoryPool());
10681069
}
10691070

@@ -1148,6 +1149,7 @@ JNIEXPORT jlong JNICALL Java_org_apache_gluten_vectorized_HashJoinBuilder_native
11481149

11491150
auto* cache = facebook::velox::exec::HashTableCache::instance();
11501151
if (!cache->hasTable(hashTableId)) {
1152+
std::cout << "VeloxJniWrapper inject hash table id is " << hashTableId << "\n";
11511153
cache->injectTable(
11521154
hashTableId,
11531155
hashTableBuilders[0]->hashTable(),
@@ -1184,6 +1186,7 @@ JNIEXPORT void JNICALL Java_org_apache_gluten_vectorized_HashJoinBuilder_clearHa
11841186
jlong tableHandler) {
11851187
JNI_METHOD_START
11861188
auto cacheKeyStr = jStringToCString(env, cacheKey);
1189+
std::cout << "VeloxJniWrapper clear hash table id is " << cacheKeyStr << "\n";
11871190
facebook::velox::exec::HashTableCache::instance()->drop(cacheKeyStr);
11881191
ObjectStore::release(tableHandler);
11891192
JNI_METHOD_END()

0 commit comments

Comments
 (0)