[SPARK-3746][SQL] Lock hive client when creating tables