GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add int64 support the form of a millisecond timestamp · Issue #1890 · docarray/docarray

This repository was archived by the owner on Sep 9, 2026. It is now read-only.
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

add int64 support the form of a millisecond timestamp #1890

Copy link
Copy link
Open
Open
add int64 support the form of a millisecond timestamp#1890
Copy link

Description

@Janus-Xu
Janus-Xu
opened on Jun 3, 2024
Issue body actions

Initial Checks

  • I have searched Google & GitHub for similar requests and couldn't find anything
  • I have read and followed the docs and still think this feature is missing

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)

企业微信截图_17097975573795

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.

企业微信截图_1709796531658(1)

企业微信截图_17097976244493

Affected Components

  • Vector Database / Index
  • Representing
  • Sending
  • storing
  • multi modal data type

Activity

  1. JoanFM commented on Jun 3, 2024

    @JoanFM
    JoanFM
    on Jun 3, 2024
    Member
    More actions

    Would it be possible for you to use a float value? I am afraid that adding int64 may not be so easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.