Looks like we have an issue for that part (ASTERIXDB-1070). I added an issue for the documentation ( https://issues.apache.org/jira/browse/ASTERIXDB-1934)
Steven On Fri, Jun 9, 2017 at 7:14 AM, Mike Carey <[email protected]> wrote: > +1 > > We should also add some functions that go between types w/o string-ifying > (I feel like we're missing some of those paths based on vague memories from > past use cases). > > > > On 6/8/17 9:32 PM, Yingyi Bu wrote: > >> 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 <[email protected]> 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 <[email protected]> wrote: >>> >>> Every type has a string constructor, e.g., >>>> >>>> bigint("123") >>>> >>>> Best, >>>> Yingyi >>>> >>>> >>>> On Thu, Jun 8, 2017 at 8:47 PM, Steven Jacobs <[email protected]> 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 >>>>> >>>>> >
