Use extract function as default for datetime field extraction #586