Forum Discussion

nmadwani's avatar
nmadwani
Regular Visitor
1 year ago

MetaException(message:Unable to fetch mwc token)

I get MetaException(message:Unable to fetch mwc token) when I use variables.

person_df = spark.sql("SELECT DISTINCT P.id FROM `{silver_database_name}`.`Person` AS P")
 
if I use lakehouse name instead it works, please suggest

 

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi nmadwani,

    Can you please share the detail opeartion steps, variable definition and corresponding values that you used? They should help us clarify your scenario and test to troubleshooting.

    Regards,

    Xiaoxin Sheng

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi nmadwani,

    Any update on this? Can you please provide some more detail informations?

    Regards,

    Xiaoxin Sheng

  • nmadwani's avatar
    nmadwani
    Regular Visitor

    Hi,

    This was due to incorrect string interpolation.

     

    Thank you.