asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yingyi Bu <buyin...@gmail.com>
Subject Re: String to int conversion
Date Fri, 09 Jun 2017 04:32:20 GMT
I couldn't find the doc neither. Yes, we should add a section in builtin
functions called "constructor functions".

Best,
Yingyi

On Thu, Jun 8, 2017 at 9:03 PM, Steven Jacobs <sjaco002@ucr.edu> wrote:

> Thanks! Is this mentioned somewhere in the docs? If not we should probably
> add it.
> Steven
> On Thu, Jun 8, 2017 at 8:58 PM Yingyi Bu <buyingyi@gmail.com> wrote:
>
> > Every type has a string constructor, e.g.,
> >
> > bigint("123")
> >
> > Best,
> > Yingyi
> >
> >
> > On Thu, Jun 8, 2017 at 8:47 PM, Steven Jacobs <sjaco002@ucr.edu> wrote:
> >
> > > Hi all,
> > > Does SQLPP offer any way to convert strings to ints? I can't see
> anything
> > > in the documentation. Twitter data gives timestamps as a string
> > > representing the unix time in milliseconds, so we need some way to
> change
> > > this to an int in order to use datetime_from_unix_time_in_ms
> > >
> > > Steven
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message