googleapis / googleapis/google-cloud-java

[java-spanner] Truncating and Limiting the Value's class toString() to 36 characters

Đang mở
#12,260 5 bình luận 0 reaction 1 người được giao Được giao cho @rahul2393 Xem trên GitHub
api: spanner
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

In java class [Value](https://github.com/googleapis/java-spanner/blob/main/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Value.java) for 3 data types which includes `String`, `JSON`, `PGJSONB` we are truncating the response of method `valueToString` to 36 characters. Method `valueToString` is called internally by `toString()` method.

The `toString()` method is designed to return a string representation of an object, and it's expected to provide a complete and meaningful representation of the object's state. Truncating it may lead to loss of information and make debugging and logging more difficult.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.