给定表名查表在HDFS上的路径
SELECT t1.fselocation || E'\/' || t2.dat2tablespace || E'\/' || t2.oid || E'\/' || t3.relfilenode
FROM pg_filespace_entry t1, pg_database t2, pg_class t3
WHERE t1.fsefsoid = t2.dat2tablespace::int - 1 AND t2.datname=current_database() AND t2.oid is not null AND t3.relname = 'TABLE_NAME';