{"id":5701,"date":"2016-02-12T12:17:07","date_gmt":"2016-02-12T20:17:07","guid":{"rendered":"http:\/\/joedantoni.wordpress.com\/?p=1560"},"modified":"2016-06-16T08:39:00","modified_gmt":"2016-06-16T15:39:00","slug":"getting-started-with-polybase-incorrect-syntax-near-external-error","status":"publish","type":"post","link":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/","title":{"rendered":"Getting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error"},"content":{"rendered":"

I was playing around with configuring Polybase this morning. Nothing to exotic, just installing the feature getting started. I got everything installed and was about ready to created my data source. The command to that is as follows:<\/p>\n

CREATE EXTERNAL DATA SOURCE AzureStorage
WITH (           
TYPE = Hadoop,        
LOCATION = ‘wasb:\/\/polybase@mystorageaccountnamehere.blob.core.windows.net’,
CREDENTIAL = AzureStorageCredential);<\/p>\n

Unfortunately, it returned the following error:<\/p>\n

Msg 102, Level 15, State 1, Line 1<\/p>\n

Incorrect syntax near ‘EXTERNAL’.<\/p>\n

So what was the fix? A reboot after installing Polybase. The official documentation refers to restarting SQL Server, which I did. Nothing warned me to reboot, but rebooting fixed the error.<\/p>\n

\"\"<\/a> \"\"<\/p>\n","protected":false},"excerpt":{"rendered":"

I was playing around with configuring Polybase this morning. Nothing to exotic, just installing the feature getting started. I got everything installed and was about ready to created my data source. The command to that is as follows: CREATE EXTERNAL DATA SOURCE AzureStorage WITH (            TYPE = Hadoop,         LOCATION = ‘wasb:\/\/polybase@mystorageaccountnamehere.blob.core.windows.net’, CREDENTIAL = AzureStorageCredential); Unfortunately, […]\"\"<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[551,63,46],"tags":[],"class_list":["post-5701","post","type-post","status-publish","format-standard","hentry","category-blog","category-sql","category-syndication"],"yoast_head":"\nGetting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error – Denny Cherry & Associates Consulting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error – Denny Cherry & Associates Consulting\" \/>\n<meta property=\"og:description\" content=\"I was playing around with configuring Polybase this morning. Nothing to exotic, just installing the feature getting started. I got everything installed and was about ready to created my data source. The command to that is as follows: CREATE EXTERNAL DATA SOURCE AzureStorage WITH (            TYPE = Hadoop,         LOCATION = ‘wasb:\/\/polybase@mystorageaccountnamehere.blob.core.windows.net’, CREDENTIAL = AzureStorageCredential); Unfortunately, […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/\" \/>\n<meta property=\"og:site_name\" content=\"Denny Cherry & Associates Consulting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DennyCherryAssociatesConsulting\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-12T20:17:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-06-16T15:39:00+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/joedantoni.wordpress.com\/1560\/\" \/>\n<meta name=\"author\" content=\"Joey D'Antoni\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dcacco\" \/>\n<meta name=\"twitter:site\" content=\"@dcacco\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joey D'Antoni\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/\",\"url\":\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/\",\"name\":\"Getting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error – Denny Cherry & Associates Consulting\",\"isPartOf\":{\"@id\":\"https:\/\/www.dcac.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/feeds.wordpress.com\/1.0\/comments\/joedantoni.wordpress.com\/1560\/\",\"datePublished\":\"2016-02-12T20:17:07+00:00\",\"dateModified\":\"2016-06-16T15:39:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.dcac.com\/#\/schema\/person\/ac58f2207d3f180aa3e4ee0ce6af0885\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#primaryimage\",\"url\":\"http:\/\/feeds.wordpress.com\/1.0\/comments\/joedantoni.wordpress.com\/1560\/\",\"contentUrl\":\"http:\/\/feeds.wordpress.com\/1.0\/comments\/joedantoni.wordpress.com\/1560\/\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.dcac.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dcac.com\/#website\",\"url\":\"https:\/\/www.dcac.com\/\",\"name\":\"Denny Cherry & Associates Consulting\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dcac.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dcac.com\/#\/schema\/person\/ac58f2207d3f180aa3e4ee0ce6af0885\",\"name\":\"Joey D'Antoni\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dcac.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3fede03569772a55a091b587d76f78d4?s=96&r=x\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3fede03569772a55a091b587d76f78d4?s=96&r=x\",\"caption\":\"Joey D'Antoni\"},\"url\":\"https:\/\/www.dcac.com\/author\/joeydcac-co\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error – Denny Cherry & Associates Consulting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error – Denny Cherry & Associates Consulting","og_description":"I was playing around with configuring Polybase this morning. Nothing to exotic, just installing the feature getting started. I got everything installed and was about ready to created my data source. The command to that is as follows: CREATE EXTERNAL DATA SOURCE AzureStorage WITH (            TYPE = Hadoop,         LOCATION = ‘wasb:\/\/polybase@mystorageaccountnamehere.blob.core.windows.net’, CREDENTIAL = AzureStorageCredential); Unfortunately, […]","og_url":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/","og_site_name":"Denny Cherry & Associates Consulting","article_publisher":"https:\/\/www.facebook.com\/DennyCherryAssociatesConsulting\/","article_published_time":"2016-02-12T20:17:07+00:00","article_modified_time":"2016-06-16T15:39:00+00:00","og_image":[{"url":"http:\/\/feeds.wordpress.com\/1.0\/comments\/joedantoni.wordpress.com\/1560\/","type":"","width":"","height":""}],"author":"Joey D'Antoni","twitter_card":"summary_large_image","twitter_creator":"@dcacco","twitter_site":"@dcacco","twitter_misc":{"Written by":"Joey D'Antoni","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/","url":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/","name":"Getting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error – Denny Cherry & Associates Consulting","isPartOf":{"@id":"https:\/\/www.dcac.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#primaryimage"},"image":{"@id":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#primaryimage"},"thumbnailUrl":"http:\/\/feeds.wordpress.com\/1.0\/comments\/joedantoni.wordpress.com\/1560\/","datePublished":"2016-02-12T20:17:07+00:00","dateModified":"2016-06-16T15:39:00+00:00","author":{"@id":"https:\/\/www.dcac.com\/#\/schema\/person\/ac58f2207d3f180aa3e4ee0ce6af0885"},"breadcrumb":{"@id":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#primaryimage","url":"http:\/\/feeds.wordpress.com\/1.0\/comments\/joedantoni.wordpress.com\/1560\/","contentUrl":"http:\/\/feeds.wordpress.com\/1.0\/comments\/joedantoni.wordpress.com\/1560\/"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dcac.com\/2016\/02\/12\/getting-started-with-polybase-incorrect-syntax-near-external-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dcac.com\/"},{"@type":"ListItem","position":2,"name":"Getting Started with Polybase\u2014Incorrect Syntax near \u2018EXTERNAL\u2019 Error"}]},{"@type":"WebSite","@id":"https:\/\/www.dcac.com\/#website","url":"https:\/\/www.dcac.com\/","name":"Denny Cherry & Associates Consulting","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dcac.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dcac.com\/#\/schema\/person\/ac58f2207d3f180aa3e4ee0ce6af0885","name":"Joey D'Antoni","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dcac.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3fede03569772a55a091b587d76f78d4?s=96&r=x","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3fede03569772a55a091b587d76f78d4?s=96&r=x","caption":"Joey D'Antoni"},"url":"https:\/\/www.dcac.com\/author\/joeydcac-co\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/posts\/5701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/comments?post=5701"}],"version-history":[{"count":1,"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/posts\/5701\/revisions"}],"predecessor-version":[{"id":5711,"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/posts\/5701\/revisions\/5711"}],"wp:attachment":[{"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/media?parent=5701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/categories?post=5701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dcac.com\/wp-json\/wp\/v2\/tags?post=5701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}