init my td and vertica sample code