GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix #87 by working around non-federated sqlproxy connections by t8y8 · Pull Request #89 · tableau/document-api-python

Conversation

@t8y8

@t8y8 t8y8 commented Sep 30, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes #87

'sqlproxy' connections can't be federated yet so they exist outside the 'named-connections' groupings that all other connections live in.

The simplest change is to just grab all federated connections and then make a second pass to get the published datasource connections too.

Added a test to verify the case with a mixed-case workbook: Federated and Non-Federated connections

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@t8y8
Fix #87 by working around non-federated sqlproxy connections
e4b7f37
graysonarts
graysonarts approved these changes Sep 30, 2016
View reviewed changes

@graysonarts graysonarts left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@t8y8
t8y8 merged commit 8228efa into tableau:development Sep 30, 2016
@t8y8
t8y8 deleted the 87-dint-fixes branch September 30, 2016 20:21
@t8y8 t8y8 mentioned this pull request Sep 30, 2016
Dataserver connections aren't federated #87
Closed
graysonarts pushed a commit that referenced this pull request Oct 7, 2016
@t8y8 Russell Hay
Fix #87 by working around non-federated sqlproxy connections (#89)
a440256
When Cross Database Joins were introduced in 10 all connections became "federated" by default, even if they weren't actually joined to anything else. 

In the file format that means they get represented as named-connection/connection elements. Expressed under one top-level connection element with a class of 'federated'.

Except for 'sqlproxy' connections (Published Data Sources) -- they stay in the old connection style as a top level connection element.

We need to, when in a 10.0 or greater workbook, get all federated connections (named-connection) plus go back and find any sqlproxy connections as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@graysonarts graysonarts graysonarts approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@t8y8 @graysonarts
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.