yjshen edited a comment on issue #1708: URL: https://github.com/apache/arrow-datafusion/issues/1708#issuecomment-1027821721
Given `Table A (bool a, char b, int c, string d) row_value (true, 'W', 59, "XYZ")` as an example, a tuple in each system are: ``` ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ Postgres │ 0F│ 1 │ W │ **│ **│ 00│ 00│ 00│ 3B│ 03│ X │ Y │ Z │ └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ Pointer ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ DuckDB │ 0F│ 1 │ W │ 00│ 00│ 00│ 3B│ 00│ 00│ 00│ 5F│ └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ │ ┌───────────────────────┘ ▼─────────┐ │ XYZ │ └─────────┘ ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ SparkSQL │ 00│ 00│ 00│ 00│ 00│ 00│ 00│ 0F│ 00│ 00│ 00│ 00│ 00│ 00│ 00│ 1 │ 00│ 00│ 00│ 00│ 00│ 00│ 00│ W ├───┐ └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ │ │ ┌───────────────────────────────────────────────────────────────────────────────────────────────────────┘ │ │ ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ └───▶ 00│ 00│ 00│ 28│ 00│ 00│ 00│ 03│ X │ Y │ Z │ 00│ 00│ 00│ 00│ 00│ └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org