For olap table, we need to acquire read lock when plan. Because we need to make sure the partition's version remain unchanged when plan. For other kind of table, no need to lock them.
For olap table, we need to acquire read lock when plan. Because we need to make sure the partition's version remain unchanged when plan. For other kind of table, no need to lock them.