gengliangwang commented on PR #59520:
URL: https://github.com/apache/spark/pull/59520#issuecomment-6753423294

   @sarutak, the changes for the six points are pushed, up to f846d77a79b:
   
   1. Instead of documenting the limits of JSON, e1eab9d49f1 encodes the state, 
the partitions and the commit messages with MessagePack (rmp-serde, structs as 
maps, byte vectors as bytes), in the same versioned envelope. It is 
self-describing, so `untagged`, `flatten` and `default` keep working, and 
unlike JSON it keeps a `Vec<u8>` compact (a 1000-byte vector was 3604 bytes of 
JSON) and NaN and infinite floats as they are (JSON made them `null`, which did 
not decode). Offsets stay JSON, since Spark stores them as text, and the docs 
now promise that later versions of the SDK will not wrap or re-encode them.
   2. The README says that a new kind of operation is a breaking release of the 
SDK, and that growth within an operation is not (3d0f42bb004).
   3. The crate is `spark-datasource` now (3d0f42bb004). The README says to use 
a path dependency on a Spark source tree until SPARK-61307 publishes it to 
crates.io, that it is versioned on its own from 0.x, and that it supports 
version 1 of the ABI, which Spark supports from 4.4.0 in all the releases of 
Spark 4.
   4. The README now says that Spark checks the build of the library with its 
checksum (7c6313ce6b2).
   5. The rustdoc of `ScanBuilder` says that a builder must not hold exclusive 
resources until Drop, and that of `PartitionReaderFactory::open` that several 
attempts of a task may open the same partition at the same time (f846d77a79b).
   6. 2694d61f030 checks on read that decimal values fit in the precision of 
their type, in the traversal that checks nullability, except under a null 
parent.
   
   Also in this round: `DataSource::schema` is now `infer_schema`, as the 
`INFERS_SCHEMA` constant and the `InferSchema` of the C++ SDK, and 
`writer_factory` is `new_writer_factory`, as the other `new_*` methods 
(815840597ff, 6965cfe3a60); the `push_domains` of SPARK-61200 is bound but not 
exposed yet (5174fd51a9a), and SPARK-61306 will add it to `ScanBuilder`. Both 
Spark smoke scripts pass again on a build of this branch at master 8aac2b7d3e3.
   


-- 
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]

Reply via email to