 
 
 	thrust::device_vector<int64_t> intputDataDev(inputData);
-	thrust::device_vector<char> inputValidDev(1,0);
+	thrust::device_vector<gdf_valid_type> inputValidDev(1,0);
 	thrust::device_vector<int64_t> outDataDev(colSize);
-	thrust::device_vector<char> outputValidDev(1,0);
+	thrust::device_vector<gdf_valid_type> outputValidDev(1,0);
 
 	inputCol.data = thrust::raw_pointer_cast(intputDataDev.data());
 	inputCol.valid = thrust::raw_pointer_cast(inputValidDev.data());

#include <cstdlib>
#include <iostream>
#include <vector>

#include "gtest/gtest.h"
#include <gdf/gdf.h>

	outputCol.dtype = GDF_INT16;
	outputCol.size = colSize;

	std::vector<int64_t> inputData(colSize);
	inputData[0] = 1528935590000;	// '2018-06-14 00:19:50.000'
	inputData[1] = 1528935599999;	// '2018-06-14 00:19:59.999'
	inputData[2] = -1577923201000;	// '1919-12-31 23:59:59.000'
