Git Product home page Git Product logo

Comments (4)

nfx avatar nfx commented on May 19, 2024 2

@souvik-databricks #99 :) PR with the fix is welcome

from databricks-sdk-py.

nfx avatar nfx commented on May 19, 2024

Thank you for the feature request! Currently, the team operates in a limited capacity, carefully prioritizing, and we cannot provide a timeline to implement this feature. Please make a Pull Request if you'd like to see this feature sooner, and we'll guide you through the journey.

from databricks-sdk-py.

souvik-databricks avatar souvik-databricks commented on May 19, 2024

@nfx sounds good since I have folks waiting for this examples I will make a few examples and raise a PR with them.

from databricks-sdk-py.

souvik-databricks avatar souvik-databricks commented on May 19, 2024

@nfx Am I missing anything?
If try to do a QueryFilter it raises an error

from databricks.sdk import WorkspaceClient
from databricks.sdk.service.sql import QueryFilter

w = WorkspaceClient(host="https://adb-XXXXXXX.00.azuredatabricks.net/",token="dapiXXXXXXXX")
x = None

filter_condition = QueryFilter.from_dict(
    {"query_start_time_range":{
        "end_time_ms": None,
        "start_time_ms": None
    },
        "statuses": None,
        "user_ids": None,
        "warehouse_ids":["XXXXXXXXX"]
    }
)


for i in w.query_history.list(filter_by=filter_condition): 
    print(i)

It returns me an error:

image

from databricks-sdk-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.