DOCUMENTATION
/
Getting Started
Guides
Developer
Reference
Releases
Tutorials
Snowflake Open Catalog
Status
  1. Overview
    • Snowpark Session
    • Snowpark APIs
        1. Input/Output
        2. DataFrame
        3. Column
        4. Data Types
        5. Row
        6. Functions
        7. Window
        8. Grouping
        9. Table Function
        10. Table
        11. AsyncJob
            1. AsyncJob
              • AsyncJob.cancel
                • AsyncJob.is_done
                  • AsyncJob.result
                    • AsyncJob.to_df
                      • AsyncJob.query
                        • AsyncJob.query_id
                      • Stored Procedures
                      • StoredProcedureProfiler
                      • User-Defined Functions
                      • User-Defined Aggregate Functions
                      • User-Defined Table Functions
                      • Observability
                      • Files
                      • Catalog
                      • LINEAGE
                      • Context
                      • Exceptions
                      • Testing
                  • Snowpark pandas API
                  DeveloperSnowpark APIPythonpandas on Snowflakepandas on Snowflake API ReferenceSnowpark APIsAsyncJobAsyncJob.query

                  snowflake.snowpark.AsyncJob.query¶

                  property AsyncJob.query: Optional[str][source]¶

                  The SQL text of of the executed query. Returns None if it cannot be retrieved from Snowflake.

                  Was this page helpful?

                  Visit Snowflake
                  Join the conversation
                  Develop with Snowflake
                  Share your feedback
                  Read the latest on our blog
                  Get your own certification
                  Privacy NoticeSite Terms© 2025 Snowflake, Inc. All Rights Reserved.
                  Language: English
                  • English
                  • Français
                  • Deutsch
                  • 日本語
                  • 한국어
                  • Português