Got this error when running on serverless:
[NOT_SUPPORTED_WITH_SERVERLESS] PERSIST TABLE is not supported on serverless compute. SQLSTATE: 0A000
File , line 1
----> 1 compare = SparkSQLCompare(
2 spark,
3 old,
4 new,
5 join_columns=['CurrencyExchangeRateDate','SourceCurrencyCode', 'TargetCurrencyCode'], # You can also specify a list of columns
6 df1_name='old', # Optional, defaults to 'df1'
7 df2_name='new' # Optional, defaults to 'df2'
8 )
10 # This method prints out a human-readable report summarizing and sampling differences
11 print(compare.report())