Yes. Within your process that loads the hive tables, you can have a step afterwards that does one of the two methods:
2. Use the REST API and call the "run extract refresh task" https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm#REST/rest_api_ref.htm#Run_Extract_Refresh_Task%3FTocP…
Thanks Jeff Strauss. My requirement is once the hive table load is completed the extract refresh should trigger automatically ?
You can keep the tasks in two different scripts.
In the first script -
You check whether hive table load is completed or not.
---->Logic can be created with the help of timestamp of loading.
---->You can schedule this script as per requirement (hourly or after 4 hours etc )
your extract refresh -->TABCMD refreshextracts --workbook workbook name --project project name
In the second script - If first script is successful then only run this script.
This approach will be good for you even if some issue happened and your first script failed then your refresh won't run.