DRILL-452: Conversion functions for external data types