IBMStreams / administration

Umbrella project for the IBMStreams organization. This project will be used for the management of the individual projects within the IBMStreams organization.
Other
19 stars 10 forks source link

Function proposal: parseDateTime #133

Closed leongor closed 6 years ago

leongor commented 6 years ago

Recently we've developed parseDateTime function for Streams Designer. Here 2 main reasons behind it:

  1. fromIso8601ToTimestamp function from com.ibm.streamsx.datetime toolkit is very strict, while customers frequently use timestamps without time zones or nanseconds.
  2. A single tuple can easily have multiple timestamps to parse, so performance is crucial. parseDateTime is built over Boost.Spirit, one of the blazing fast C++ parsers.
brandtol commented 6 years ago

I would propose to merge this functionality to com.ibm.streamsx.datetime to reduce the number of toolkits that handle similar tasks. In the long term I think this function as well as the functions from streamsx.datetime should go into the standard SPL toolkit in spl.time namespace.

ddebrunner commented 6 years ago

Shouldn't this be an issue in streamsx.datetime?

leongor commented 6 years ago

@ddebrunner Yes, right. I'll move it there.

leongor commented 6 years ago

Moved to streamsx.datetime