I have a list of items in Pig consisting of date strings in ISO 8601 format (YYYY-MM-DD):
(2011-12-01) (2011-12-01) (2011-12-02)
Is there a way to convert these elements to UNIX timestamps besides implementing my own functions in Java?
You need UDF to do this = Good news he has already done. The pig also comes with a “ piggybank” UDF contributed by the community, including date convert
Source: https://habr.com/ru/post/1387427/More articles:How to define a class in javascript - javascriptGHC clutter during compilation - haskellWays to securely send data / authentication by domain - ajaxWhat is the location of the calendar in Android 4.0? - androidHow to fix the error: "The program has stopped working APPCRASH" - c #Project dependencies between a C # and C ++ project, build order - visual-studio-2010The matrix is multiplied by the positions, components of the quaternion and scale - c ++Develop on Android 4.0, is it compatible with 2.3 devices and all tablets? - androiddetermine API level for platforms <1.6 - androidGetting default credentials? - c #All Articles