Initial Checks
Description
I use DocArray in Jina, when I set the form of a millisecond timestamp to doc in executor,error as below:
doc = MyDocument(data=int(time.time() * 1000))
proto = doc.to_protobuf()
res_doc = MyDocument.from_protobuf(proto)
print(res_doc)

I have reviewed the source code and found that NodeProto does not support int64, but the native Google library does have this type.
In our scenario, we need to record millisecond information. Currently, we can only convert it temporarily in the executor using a string, which is very inconvenient. We hope the official support for native types will be provided.


Affected Components
Initial Checks
Description
I use DocArray in Jina, when I set the form of a millisecond timestamp to doc in executor,error as below:
I have reviewed the source code and found that NodeProto does not support int64, but the native Google library does have this type.
In our scenario, we need to record millisecond information. Currently, we can only convert it temporarily in the executor using a string, which is very inconvenient. We hope the official support for native types will be provided.
Affected Components