<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Databricks Rest api swagger definition not handling bigint or integer in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119327#M45835</link>
    <description>&lt;P&gt;I want to test create a custom connector in a Power App that connects to table in Databricks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is if I have any columns like int or bigint.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielW_0-1747312458356.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16869i42B83FE6E8B14EE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielW_0-1747312458356.png" alt="DanielW_0-1747312458356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;No matter what I define in the response in my swagger definition See&amp;nbsp; below), it is not correct type in the Power App so cannot be displayed. string columns are displayed ok.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;testint:
type: number
testint:
type: integer
format: int64
testint:
type: string&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielW_0-1747313218694.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16871iD56A69564CEBCE63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielW_0-1747313218694.png" alt="DanielW_0-1747313218694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 May 2025 12:48:30 GMT</pubDate>
    <dc:creator>DanielW</dc:creator>
    <dc:date>2025-05-15T12:48:30Z</dc:date>
    <item>
      <title>Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119327#M45835</link>
      <description>&lt;P&gt;I want to test create a custom connector in a Power App that connects to table in Databricks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is if I have any columns like int or bigint.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielW_0-1747312458356.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16869i42B83FE6E8B14EE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielW_0-1747312458356.png" alt="DanielW_0-1747312458356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;No matter what I define in the response in my swagger definition See&amp;nbsp; below), it is not correct type in the Power App so cannot be displayed. string columns are displayed ok.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;testint:
type: number
testint:
type: integer
format: int64
testint:
type: string&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielW_0-1747313218694.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16871iD56A69564CEBCE63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielW_0-1747313218694.png" alt="DanielW_0-1747313218694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 12:48:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119327#M45835</guid>
      <dc:creator>DanielW</dc:creator>
      <dc:date>2025-05-15T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119334#M45840</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/164605"&gt;@DanielW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a common issue when connecting Power Apps to Databricks due to how data types are handled between the systems.&lt;BR /&gt;Here's how to resolve it:&lt;/P&gt;&lt;P&gt;When Databricks returns numeric types (int, bigint) through an API, they're being serialized as strings in the JSON response,&lt;BR /&gt;but your Power Apps connector expects them as numeric types according to your Swagger definition.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;BR /&gt;You need to adjust your Swagger definition to properly handle the type conversion. Try these approaches:&lt;BR /&gt;&lt;STRONG&gt;Option 1: Update your Swagger definition to expect strings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;testint:&lt;BR /&gt;type: string&lt;BR /&gt;x-ms-powerApps-mapping:&lt;BR /&gt;powerAppsType: number&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 2: Modify your Databricks API response&lt;/STRONG&gt;&lt;BR /&gt;If you're writing a custom API endpoint in Databricks, ensure you're explicitly casting the numeric values:&lt;/P&gt;&lt;P&gt;# Example in Python&lt;BR /&gt;def get_data():&lt;BR /&gt;df = spark.sql("SELECT * FROM your_table")&lt;BR /&gt;# Convert numeric columns to actual numbers in the JSON&lt;BR /&gt;return df.toJSON().map(lambda x: json.loads(x)).collect()&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 3: Create a transformation policy&lt;/STRONG&gt;&lt;BR /&gt;In your custom connector, add a response transformation policy:&lt;BR /&gt;-- Go to your custom connector definition&lt;BR /&gt;-- Add a policy under "Response transformation"&lt;BR /&gt;-- Use a policy like:&lt;BR /&gt;in javascript&amp;amp;colon;&lt;BR /&gt;#set($body = $response.body)&lt;BR /&gt;#foreach($item in $body.items)&lt;BR /&gt;#set($item.testint = $number.parseInt($item.testint))&lt;BR /&gt;#set($item.bigint = $number.parseInt($item.bigint))&lt;BR /&gt;#end&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Best Practice Implementation&lt;/STRONG&gt;&lt;BR /&gt;For the most reliable approach:&lt;BR /&gt;&lt;STRONG&gt;1. In your Swagger definition, define numeric columns as strings:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;in yaml:&lt;/P&gt;&lt;P&gt;testint:&lt;BR /&gt;type: string&lt;BR /&gt;description: "Integer value (returned as string)"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;2. In your Power App, use the Value() function to convert the string to a number when needed:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Value(YourDataSource.testint)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This approach handles the type mismatch by acknowledging that the values come as strings but can be&lt;BR /&gt;processed as numbers within Power Apps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 13:43:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119334#M45840</guid>
      <dc:creator>lingareddy_Alva</dc:creator>
      <dc:date>2025-05-15T13:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119335#M45841</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/24053"&gt;@lingareddy_Alva&lt;/a&gt;&amp;nbsp;Thanks very much for your reply , I will test out the options for the integer and bigint columns.&amp;nbsp; For a number column I made mistake defining the column in yaml .&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;testnumber:
format: number&lt;/LI-CODE&gt;&lt;P&gt;Although the power app complains this is untyped , it displays it perfectly. Indeed I added a number to value and this was correctly displayed.&amp;nbsp; So is this an option for my integer and big int columns&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 13:53:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119335#M45841</guid>
      <dc:creator>DanielW</dc:creator>
      <dc:date>2025-05-15T13:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119340#M45845</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/164605"&gt;@DanielW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're welcome! Yes, that's absolutely an option for your integer and bigint columns. Using format: number without explicitly specifying a type can work well for handling numeric values from Databricks in Power Apps.&lt;/P&gt;&lt;P&gt;Here's how you could define those columns in your Swagger:&lt;/P&gt;&lt;P&gt;In yaml file&lt;/P&gt;&lt;P&gt;testint:&lt;BR /&gt;format: number&lt;BR /&gt;description: "Integer column from Databricks"&lt;/P&gt;&lt;P&gt;bigintcolumn:&lt;BR /&gt;format: number&lt;BR /&gt;description: "BigInt column from Databricks"&lt;/P&gt;&lt;P&gt;If you're still getting any issues with very large numbers (particularly with bigint columns that&lt;BR /&gt;might exceed JavaScript's number precision), you could also try:&lt;/P&gt;&lt;P&gt;bigintcolumn:&lt;BR /&gt;type: string&lt;BR /&gt;format: number&lt;BR /&gt;x-ms-powerApps-display-format: number&lt;/P&gt;&lt;P&gt;This hybrid approach tells Power Apps to treat the value as a number for display purposes while still accepting the string representation from the API.&lt;BR /&gt;I'm glad to hear the format: number approach is already working for your number columns! This should work equally well for your integer and bigint columns as long as they're within the standard numeric range that JavaScript/Power&lt;BR /&gt;Apps can handle (approximately ±9,007,199,254,740,991).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 14:26:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119340#M45845</guid>
      <dc:creator>lingareddy_Alva</dc:creator>
      <dc:date>2025-05-15T14:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119352#M45849</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/24053"&gt;@lingareddy_Alva&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the swagger defintions alone won't solve my issues&lt;/P&gt;&lt;P&gt;testint:&lt;BR /&gt;type: string&lt;BR /&gt;format: number&lt;BR /&gt;x-ms-powerApps-mapping:powerAppsType: number&lt;/P&gt;&lt;P&gt;Power apps error: JSON parsing error , expected a number and got a string&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;testint:&lt;BR /&gt;format: number&lt;BR /&gt;x-ms-powerApps-mapping:powerAppsType: number&lt;/P&gt;&lt;P&gt;Power apps error: JSON parsing error , expected a number and got a string&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/24053"&gt;@lingareddy_Alva&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the swagger defintions alone won't solve my issues&lt;/P&gt;&lt;P&gt;testint:&lt;BR /&gt;type: string&lt;BR /&gt;format: number&lt;BR /&gt;x-ms-powerApps-mapping:powerAppsType: number&lt;/P&gt;&lt;P&gt;Power apps error: JSON parsing error , expected a number and got a string&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;testint:&lt;BR /&gt;format: number&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Power apps error: JSON parsing error , expected a number and got a string&lt;/P&gt;&lt;P&gt;&lt;EM&gt;So only testnumber works with just the format definition in my YAML.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 15:12:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119352#M45849</guid>
      <dc:creator>DanielW</dc:creator>
      <dc:date>2025-05-15T15:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119374#M45856</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/164605"&gt;@DanielW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the update. I understand the Swagger definitions alone aren't resolving your type conversion issues.&lt;BR /&gt;This sounds like a deeper problem with how the data is being processed between Databricks and Power Apps.&lt;/P&gt;&lt;P&gt;Option 1: Transform the data in your API endpoint&lt;BR /&gt;Option 2: Use a custom connector policy script&lt;BR /&gt;Option 3: Create a middleware API&lt;BR /&gt;Option 4: Power Automate flow as middleware&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 17:42:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119374#M45856</guid>
      <dc:creator>lingareddy_Alva</dc:creator>
      <dc:date>2025-05-15T17:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119422#M45873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/24053"&gt;@lingareddy_Alva&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help yesterday and advice on the options I should look at and their order of impact.&lt;/P&gt;&lt;P&gt;Taking Option 2, I think the code you reference will end up in the Code section and not the Policy ,&amp;nbsp; as MS seemed to have limited what I can do under Policy details&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielW_0-1747381588868.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16901i8992FF07EAD22F51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielW_0-1747381588868.png" alt="DanielW_0-1747381588868.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 07:49:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119422#M45873</guid>
      <dc:creator>DanielW</dc:creator>
      <dc:date>2025-05-16T07:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119461#M45882</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/24053"&gt;@lingareddy_Alva&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Quick update.&amp;nbsp; I have populated a collection in the Power App with all&amp;nbsp; column values without the policy or changes to code snippet.&amp;nbsp; I had to close and re-open the power app for the amended custom connector to take effect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks once again for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; test_bigintcolumn1:
 format: number
 description: Integer column from Databricks
 test_bigintcolumn2:
 format: number
 description: Integer column from Databricks&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 11:51:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119461#M45882</guid>
      <dc:creator>DanielW</dc:creator>
      <dc:date>2025-05-16T11:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119466#M45885</link>
      <description>&lt;P&gt;You are welcome !!&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/164605"&gt;@DanielW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 12:40:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119466#M45885</guid>
      <dc:creator>lingareddy_Alva</dc:creator>
      <dc:date>2025-05-16T12:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119467#M45886</link>
      <description>&lt;P&gt;Awesome&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/164605"&gt;@DanielW&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 12:41:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119467#M45886</guid>
      <dc:creator>lingareddy_Alva</dc:creator>
      <dc:date>2025-05-16T12:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119499#M45893</link>
      <description>&lt;P&gt;Hi probably one to pick up next week.&amp;nbsp; but I attempted to parametise&amp;nbsp; me SQL statement and it was painful!&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;parameters:
        - name: body
          in: body
          required: true
          schema:
            type: object
            properties:
              warehouse_id:
                type: string
                description: The ID of the warehouse to retrieve.
                default: &amp;lt;warehouse_id&amp;gt;
                x-ms-visibility: important
              statement:
                type: string
                description: SQL statement to execute.
                default: &amp;gt;
                  SELECT * FROM cycle_shops WHERE shop_id = :shop_id
                x-ms-visibility: important
              shop_id:
                type: string
                description: The ID of the shop I  to filter by.
              wait_timeout:
                type: string
                description: Timeout for the SQL execution.
                default: 5s&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielW_0-1747409745711.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16917iC0945469C670B21A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielW_0-1747409745711.png" alt="DanielW_0-1747409745711.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 15:36:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119499#M45893</guid>
      <dc:creator>DanielW</dc:creator>
      <dc:date>2025-05-16T15:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119590#M45924</link>
      <description>&lt;P&gt;Actually, when you recheck the docs , there is the answer&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;parameters:
        - name: body
          in: body
          required: true
          schema:
            type: object
            properties:
              warehouse_id:
                type: string
                description: The ID of the shop to retrieve.
                default: &amp;lt;warehouse_id&amp;gt;
                x-ms-visibility: important
              statement:
                type: string
                description: SQL statement to execute.
                default: &amp;gt;
                  SELECT * FROM cycle_shops WHERE shop_id = :shop_id
                x-ms-visibility: important
              parameters:
                type: array
                description: List of SQL parameters.
                items:
                  type: object
                  properties:
                    name:
                      type: string
                      description: The name of the SQL parameter.
                      example: shop_id
                    value:
                      type: string
                      description: The value for the SQL parameter.
                      example: '10' &lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 May 2025 08:53:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/119590#M45924</guid>
      <dc:creator>DanielW</dc:creator>
      <dc:date>2025-05-19T08:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Rest api swagger definition not handling bigint or integer</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/120052#M46041</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/24053"&gt;@lingareddy_Alva&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might warrant another post to keep the conversation focussed, but I found a couple of things with the custom connector that make it a bit cumbersome to use.&lt;/P&gt;&lt;P&gt;1) I don't seem to be able to have two post operations under /statments so I can't have SetShopDetails . I am looking at use a HTTP PUT but did see some errors when I tired this week&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;paths:
  /statements:
    post:
      summary: GetShopDetails
      operationId: GetShopDetails&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; You can't see define a generic response in the YAML so keet the custom connector very flexible.&amp;nbsp; The idea would be the Power App would have figure out how to handle the response.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;responses:
        '200':
          description: Successfully retrieved shop details.
          schema:
            type: object
            properties:
              results:
                type: array
                items:
                  type: object&lt;/LI-CODE&gt;&lt;P&gt;SO you have define the reponse array for each SELECT request. Indeed with 1) we are looking at having to create a connector per call to a table. Not a great dev experience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 09:26:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-rest-api-swagger-definition-not-handling-bigint-or/m-p/120052#M46041</guid>
      <dc:creator>DanielW</dc:creator>
      <dc:date>2025-05-23T09:26:32Z</dc:date>
    </item>
  </channel>
</rss>

