added table_name prefix to publish_date _common_query method