write table directly to hdfs