HyukjinKwon commented on code in PR #59933:
URL: https://github.com/apache/spark/pull/59933#discussion_r4469617112
##########
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/v2/ffi/NativeLibrary.java:
##########
@@ -75,12 +75,17 @@ static boolean isSupported() {
static final long MICRO_BATCH_READ = 2;
static final long BATCH_WRITE = 4;
static final long STREAMING_WRITE = 8;
- static final long TRUNCATE = 16;
+ static final long BATCH_TRUNCATE = 16;
+ static final long STREAMING_TRUNCATE = 32;
Review Comment:
Added in #59931 (19258eb), merged here in 3b1484e: the layout test also
compares the capabilities, including the two truncate bits, the write modes and
the kinds of reads of `NativeLibrary` with the macros of `spark_datasource.h`.
It only needs a C++ compiler.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]