Querying Cosmos DB in Azure Databricks using Cosmos DB Spark Connector

We already saw the steps for creating Azure Databricks workspace creation and Cluster creation in a previous article

In this tutorial we will create a Cosmos DB service using SQL API and query the data in our existing Azure Databricks Spark cluster using Scala notebook. We use Cosmos DB Spark Connector for this.

Step 1 – Cosmos DB creation with sample data.

Please follow the simple steps to create Cosmos DB service.

Link:Cosmos DB Creation – Steps

We must create one database and collection and enter some documents (records) to this collection.

I have added a total of 5 documents in this sample collection.

Step 2 – Cosmos DB Spark Connector library creation

We will go to our existing Azure Databricks cluster and add Cosmos DB Spark connector library. This library is an open source library made by Microsoft employees and other contributors written in JAVA and Scala. (Scala combines object-oriented and functional programming in one concise, high-level language. Scala’s static types help avoid bugs in complex applications, and its JVM let you build high-performance systems with easy access to huge ecosystems of libraries.)

You can download the Cosmos DB Spark Connector library from here: Azure Cosmos DB Spark Connector

The entire source code for this connector can be found at Github

Please go to the Azure Databricks dashboard and click Import Library button.

You can browse the library file from your local system (which we downloaded from maven repository link)

After successfully uploading the JAR file you can click Create Library button.

Step 3 – Querying the Cosmos DB data using Scala notebook.

Create a notebook from dashboard (New Notebook button)

We created this notebook with Scala language. Azure Databricks supports Python, R and SQL also.

Import the required libraries  to our notebook using the below command and click Shift Enter.

It will execute our command. It is the short cut to run the commands.

import org.joda.time._  
import org.joda.time.format._  
  
import com.microsoft.azure.cosmosdb.spark.schema._  
import com.microsoft.azure.cosmosdb.spark.CosmosDBSpark  
import com.microsoft.azure.cosmosdb.spark.config.Config  
  
import org.apache.spark.sql.functions._

The above commands will load all required Java/Scala libraries to our Spark Session.

We can create Cosmos DB configuration in our notebook.

val configMap = Map(  
  "Endpoint" -> {URI of the Azure Cosmos DB account},  
  "Masterkey" -> {Key used to access the account},  
  "Database" -> {Database name},  
  "Collection" -> {Collection name})  
val config = Config(configMap)

We have given the Cosmos DB endpoint, master key, database name and collection in the above statement. Please run the command.

We can get all the columns from our Cosmos DB database using the below command. Please note that although we gave only 3 columns while entering data, Cosmos DB automatically inserts some additional meta information in collection.

In the above command, we define a data frame variable df and read the Cosmos DB data using our existing configuration. (config variable contains the Cosmos DB service information)

We used the same df variable to query only the required columns and order by (descending) agecolumn.

We can use all other Spark commands to query the data. In the above example, we used very simple Cosmos DB database for our querying purposeIn real life scenarios, we can use large sized datasets and see the better performance of Azure Databricks Spark Cluster.
We will continue with more features of Azure Databricks in coming articles. Please feel free to give your suggestions.
Please follow and like me:

180 thoughts on “Querying Cosmos DB in Azure Databricks using Cosmos DB Spark Connector

  1. Will Reply

    I could not resist commenting. Exceptionally well written! I could not
    refrain from commenting. Exceptionally well written! It’s
    perfect time to make some plans for the future and it’s time to be happy.
    I’ve read this submit and if I may just I desire
    to counsel you some interesting things or suggestions.
    Perhaps you can write subsequent articles regarding this article.
    I wish to read more issues about it! http://foxnews.co.uk

  2. John Reply

    This is a topic which is near to my heart… Cheers!

    Exactly where are your contact details though?
    It is appropriate time to make some plans for the future and it
    is time to be happy. I’ve read this post and if I could I wish to suggest you some interesting things or advice.

    Maybe you could write next articles referring to this article.
    I want to read even more things about it! Greetings!

    Very helpful advice within this article! It is the little
    changes which will make the most significant changes.
    Thanks for sharing! http://foxnews.org/

  3. ultrashaveforskolin.net Reply

    First of all I want to say fantastic blog!
    I had a quick question that I’d like to ask if you do not
    mind. I was interested to find out how you center yourself and clear your head prior to
    writing. I have had a tough time clearing my mind in getting my
    ideas out there. I truly do enjoy writing however it just
    seems like the first 10 to 15 minutes tend to be lost just trying
    to figure out how to begin. Any suggestions or hints? Appreciate it! https://ultrashaveforskolin.net/

    • Sarath Lal Post authorReply

      Thanks for your feedback. Keep reading. Please do some meditations prior to writing, if you need some clear mind!

  4. CarrolBig Reply

    Hello. I have checked your codewithsarath.com and i
    see you’ve got some duplicate content so probably it is the reason that you don’t rank high in google.
    But you can fix this issue fast. There is a tool that
    creates content like human, just search in google: miftolo’s tools

    • Sarath Lal Post authorReply

      Hi, Thank you very much for your suggestion. The original content I uploaded in one community and I just copied to my own site.

  5. http://backstreetsofhickory.com Reply

    Fantastic items from you, man. I have take into account your stuff prior to and you are just
    too wonderful. I really like what you’ve bought right here, certainly like what you are saying and the way in which by which
    you assert it. You are making it enjoyable and
    you still take care of to keep it smart.
    I can not wait to read far more from you. That is actually a great
    web site.

  6. Margret Reply

    What’s up to all, how is the whole thing,
    I think every one is getting more from this website, and your views are fastidious designed
    for new viewers.

  7. hickory street cafe Reply

    Just wish to say your article is as amazing.
    The clarity in your post is just nice and i can assume you are an expert on this subject.
    Fine with your permission let me to grab your feed to keep up to date
    with forthcoming post. Thanks a million and please keep up
    the gratifying work.

  8. N46ORoQ2NVcFD Reply

    Hey mate, .This was an excellent post for such a hard subject to talk about. I look forward to seeing many more excellent posts like this one. Thanks

  9. Dario Reply

    Amazing blog! Do you have any suggestions for aspiring writers?
    I’m hoping to start my own blog soon but I’m a little lost on everything.
    Would you recommend starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally confused ..
    Any suggestions? Appreciate it!

    • Sarath Lal Post authorReply

      Hi Dario, Thank you very much for your feedback. I wish all the best. I think, you can start with free wordpress and check the viewership. If you get many users, you can go for a paid version. That is my suggestion.

  10. Jim Reply

    constantly i used to read smaller content which as well clear their motive, and that is also happening
    with this paragraph which I am reading at this place.

  11. Herbert Reply

    These are actually enormous ideas in regarding blogging.

    You have touched some fastidious things here. Any
    way keep up wrinting.

  12. Oscar Reply

    Hello there, You have done a fantastic job. I will definitely digg it and
    personally suggest to my friends. I am sure they will
    be benefited from this web site.

  13. Derick Reply

    What’s up, yup this paragraph is genuinely nice and I have learned lot of
    things from it regarding blogging. thanks.

  14. Dena Reply

    I think the admin of this web page is actually working hard in support of his site, because here every material
    is quality based stuff.

  15. Christine Reply

    Asking questions are in fact good thing if you are not understanding anything entirely, but this article offers nice understanding even.

  16. Tiffiny Reply

    Pretty section of content. I just stumbled upon your blog and
    in accession capital to assert that I get in fact
    enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently rapidly.

  17. Lesley Reply

    It’s enormous that you are getting thoughts from this post as well as from our dialogue made
    at this time.

  18. Monica Reply

    Great beat ! I wish to apprentice while you
    amend your web site, how can i subscribe for
    a blog web site? The account aided me a acceptable
    deal. I had been tiny bit acquainted of this your broadcast provided bright clear idea

  19. Finlay Reply

    Its such as you learn my mind! You seem to understand so much about this, like you wrote the e book in it or something.
    I believe that you simply can do with a few % to drive the message house a little bit, however instead of that,
    this is excellent blog. An excellent read. I will certainly be back.

  20. Jesse Reply

    Howdy! I’m at work surfing around your blog from my new iphone!
    Just wanted to say I love reading your blog and look forward to all your posts!

    Carry on the superb work!

  21. Elyse Reply

    It’s enormous that you are getting thoughts from this post as well as from our argument made at this place.

  22. Morris Reply

    Good post however I was wanting to know if you could write a litte more
    on this topic? I’d be very grateful if you could elaborate a little bit more.
    Bless you!

  23. Zora Reply

    I really like what you guys tend to be up too.
    Such clever work and exposure! Keep up the good works guys I’ve included you guys to our blogroll.

  24. Ramon Reply

    Hello there! Do you know if they make any plugins to help with Search Engine Optimization? I’m
    trying to get my blog to rank for some targeted keywords
    but I’m not seeing very good success. If you know of any please share.
    Kudos!

  25. Rosalinda Reply

    Howdy! Someone in my Myspace group shared this website with us so I came to take
    a look. I’m definitely loving the information. I’m book-marking and will be tweeting
    this to my followers! Exceptional blog and fantastic design and style.

  26. Best Pillow Guide Reply

    Thank you, I’ve recently been looking for info about this subject for ages and yours
    is the greatest I have found out till now. But, what in regards to the bottom line?
    Are you certain concerning the supply?

  27. satta Reply

    I have read so many articles on the topic of the blogger lovers except this article is truly a fastidious paragraph, keep it up.

  28. selling a house Reply

    I’m truly enjoying the design and layout of your site.
    It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a designer to
    create your theme? Excellent work!

  29. Joesph Reply

    You need to be a part of a contest for one of the
    best sites on the web. I most certainly will highly recommend
    this blog!

  30. Stephania Reply

    These are actually impressive ideas in about blogging.
    You have touched some pleasant things here. Any way keep up
    wrinting.

  31. Odell Reply

    What’s up to all, how is everything, I think every one is getting more from this web
    site, and your views are good in favor of new users.

  32. Frieda Reply

    each time i used to read smaller articles or reviews that also clear their motive, and that is also happening with this article which I am reading
    at this place.

  33. selling a house Reply

    Your way of describing the whole thing in this piece
    of writing is really pleasant, every one be
    capable of effortlessly know it, Thanks a lot.

  34. Lawanna Reply

    This is very interesting, You’re a very skilled blogger. I’ve joined
    your feed and look forward to seeking more of your magnificent post.
    Also, I’ve shared your web site in my social networks!

  35. Bradford Reply

    If some one wants expert view about blogging and site-building after that i
    propose him/her to go to see this website, Keep
    up the good job.

  36. Muoi Reply

    Hey! I realize this is kind of off-topic but I needed to ask.
    Does running a well-established website like yours take a large amount of work?

    I’m brand new to blogging however I do write in my diary
    daily. I’d like to start a blog so I will be able to share
    my own experience and feelings online. Please
    let me know if you have any ideas or tips for new aspiring bloggers.
    Thankyou!

  37. Devin Reply

    Wow, wonderful blog format! How lengthy have you been blogging for?

    you make blogging look easy. The whole glance of your site is excellent, as well as the content!

  38. Margo Reply

    Ahaa, its nice dialogue about this paragraph at this place at this
    web site, I have read all that, so now me also commenting at this place.

  39. Syreeta Reply

    Magnificent goods from you, man. I have understand your stuff previous to and you are just
    too wonderful. I really like what you have acquired here, really
    like what you’re saying and the way in which you say it.
    You make it entertaining and you still care for to keep it wise.
    I can’t wait to read much more from you. This is really
    a great web site.

  40. Real Estate Reply

    Thanks for one’s marvelous posting! I seriously enjoyed reading
    it, you may be a great author.I will be sure to bookmark your blog and may
    come back later in life. I want to encourage that you continue your great writing, have a nice holiday
    weekend!

  41. Iona Reply

    Good day I am so happy I found your webpage, I really found you by accident, while I was browsing
    on Yahoo for something else, Regardless I am here now and would just like to
    say many thanks for a fantastic post and a all round thrilling blog (I also love the
    theme/design), I don’t have time to read through
    it all at the moment but I have saved it and also added
    in your RSS feeds, so when I have time I will
    be back to read more, Please do keep up the fantastic job.

  42. Luca Reply

    you’re actually a good webmaster. The site loading velocity is amazing.

    It kind of feels that you’re doing any distinctive trick.
    Furthermore, The contents are masterpiece.
    you have performed a magnificent job in this subject!

  43. Joann Reply

    Thanks a lot for sharing this with all folks you really recognise what you’re speaking about!
    Bookmarked. Please also seek advice from my site =).
    We can have a link change contract between us

  44. Virgie Reply

    I’m truly enjoying the design and layout of your site.
    It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did
    you hire out a developer to create your theme?

    Exceptional work!

  45. Sol Reply

    Superb site you have here but I was wondering if you knew of any discussion boards that cover the same topics discussed here?
    I’d really love to be a part of group where I can get suggestions from other knowledgeable individuals that share the same
    interest. If you have any suggestions, please let me know.

    Appreciate it!

  46. Bryon Reply

    I am really enjoying the theme/design of your blog. Do you ever run into any browser compatibility
    issues? A couple of my blog readers have complained about my site not working correctly in Explorer but
    looks great in Safari. Do you have any advice to help fix this issue?

  47. Irwin Reply

    Heya i’m for the first time here. I found this board and I find It truly helpful & it helped me out much.
    I am hoping to give something again and aid others such as you aided me.

  48. Wallace Reply

    I’m impressed, I must say. Rarely do I encounter a blog that’s both equally educative and amusing, and without a doubt, you’ve hit the nail on the head.
    The issue is something that too few people are speaking intelligently about.
    Now i’m very happy that I stumbled across this in my hunt for something concerning this.

  49. Ralph Lloyd Reply

    Great beat ! I would like to apprentice whilst you amend your website, how can i subscribe
    for a weblog web site? The account aided me a acceptable deal.
    I were a little bit familiar of this your broadcast offered vibrant transparent idea

  50. Tiffany Reply

    Thanks for finally writing about. “Querying Cosmos DB
    in Azure Databricks using Cosmos DB Spark Connector”
    – Code With Sarath. Liked it!

  51. Kristopher Reply

    excellent post, very informative. I’m wondering why the other experts of this sector don’t understand this.

    You must continue your writing. I’m confident, you
    have a great readers’ base already!

  52. Pilar Reply

    It’s remarkable to pay a visit this website
    and reading the views of all mates concerning this paragraph,
    while I am also zealous of getting familiarity.

  53. Wilhemina Reply

    Asking questions are genuinely fastidious thing if you
    are not understanding anything totally, except
    this paragraph gives pleasant understanding yet.

  54. Corine Reply

    First of all I would like to say wonderful blog!
    I had a quick question that I’d like to ask if you don’t mind.
    I was interested to know how you center yourself and clear your thoughts prior to writing.
    I have had difficulty clearing my mind in getting my ideas out.

    I do take pleasure in writing but it just seems
    like the first 10 to 15 minutes are usually lost just trying to figure out how
    to begin. Any recommendations or tips? Thank you!

  55. olde hickory tap room Reply

    Heya i am for the first time here. I came acroiss this board and I find
    It really useful & it helped me out much.

    I hope to give something back and aid others like you helped me.

  56. Chloe Reply

    What a material of un-ambiguity and preserveness of valuable know-how regarding unexpected feelings.

  57. Chi Reply

    you’re truly a just right webmaster. The site loading pace
    is amazing. It sort of feels that you are doing any unique trick.
    Moreover, The contents are masterpiece. you have done a magnificent activity on this
    matter!

  58. Will Reply

    Great post. I was checking constantly this blog and I am impressed!
    Extremely useful info specifically the last part 🙂 I care for such info a lot.
    I was seeking this certain information for a very long time.
    Thank you and good luck.

  59. Joann Reply

    This website really has all of the info I needed concerning this subject and
    didn’t know who to ask.

  60. Christy Reply

    I absolutely love your site.. Excellent colors & theme.
    Did you make this amazing site yourself? Please reply back as I’m looking to
    create my own blog and want to find out where you got this from or exactly what the
    theme is called. Many thanks!

  61. Shanon Reply

    I know this web site provides quality based posts and extra material, is there any other web site which gives these kinds of information in quality?

  62. Cecila Reply

    We are a group of volunteers and opening a
    new scheme in our community. Your website offered us with valuable info
    to work on. You’ve done an impressive job and our whole community will be thankful to you.

  63. Lottie Reply

    I’m impressed, I have to admit. Seldom do I encounter a blog that’s equally
    educative and amusing, and without a doubt, you have hit the nail on the head.

    The issue is something that too few people are speaking intelligently about.

    I am very happy that I found this in my search for something relating to this.

  64. Todd Reply

    You’re so interesting! I do not think I’ve truly read through anything like that before.
    So wonderful to find somebody with unique thoughts on this subject matter.
    Seriously.. thank you for starting this up. This web site is something that’s needed on the web, someone with a
    little originality!

  65. Titus Reply

    It’s great that you are getting ideas from this paragraph as
    well as from our argument made at this time.

  66. Landon Reply

    I blog frequently and I truly appreciate your content. Your article has truly peaked
    my interest. I’m going to book mark your blog and keep checking for new information about once per week.
    I subscribed to your Feed as well.

  67. Carmon Reply

    Helpful information. Fortunate me I discovered your site unintentionally,
    and I am stunned why this twist of fate did not came about in advance!
    I bookmarked it.

  68. Kristine Reply

    The other day, while I was at work, my sister stole my apple ipad and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation. My iPad
    is now destroyed and she has 83 views. I know
    this is totally off topic but I had to share it with someone!

  69. Whitney Reply

    Hi there fantastic website! Does running a blog like this require a large amount of work?
    I’ve virtually no understanding of programming however I was
    hoping to start my own blog in the near future.
    Anyhow, should you have any suggestions or techniques for new blog owners please share.
    I understand this is off subject however I just wanted to ask.
    Kudos!

  70. Vivien Reply

    Howdy! I understand this is kind of off-topic but I needed to ask.
    Does operating a well-established blog such as yours take a large amount of work?
    I’m brand new to writing a blog but I do write in my journal every day.
    I’d like to start a blog so I will be able to share my own experience and feelings online.
    Please let me know if you have any kind of suggestions or tips for new aspiring
    bloggers. Thankyou!

  71. Johnette Reply

    I’m amazed, I have to admit. Seldom do I come across a blog that’s equally educative and entertaining, and without
    a doubt, you’ve hit the nail on the head. The issue is an issue that not enough men and women are speaking
    intelligently about. I am very happy that I came across this during my search for something regarding this.

  72. Jerrell Reply

    Howdy excellent website! Does running a blog similar to
    this require a great deal of work? I have virtually no understanding of programming however I was hoping to start my own blog soon. Anyway, if you have any suggestions or techniques for new
    blog owners please share. I know this is off subject
    but I just had to ask. Kudos!

    • Sarath Lal Post authorReply

      Hi Jerrel, I am using WordPress for my blog. I am only concentrate on my topics. I never bother about the site look. Because, wordpress have lots of good themes already.

  73. Boyd Reply

    My coder is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using Movable-type on a variety of websites for about a year and am anxious about switching to another platform.
    I have heard fantastic things about blogengine.net. Is there a way I can transfer all my wordpress content
    into it? Any kind of help would be really appreciated!

  74. Vicki Reply

    I simply couldn’t leave your website before suggesting that I extremely enjoyed the
    usual information an individual provide for your visitors?

    Is going to be again frequently to inspect new posts

  75. Zak Reply

    You actually make it seem so easy along with your presentation however I to find this
    topic to be really something that I think I’d by no means understand.
    It kind of feels too complicated and very huge for me.
    I’m taking a look ahead on your next post, I’ll try to get the dangle of it!

  76. Audrey Reply

    Hey, I think your blog might be having browser compatibility
    issues. When I look at your blog site in Chrome, it looks fine but
    when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up!
    Other then that, wonderful blog!

    • Sarath Lal Post authorReply

      Hi Audrey, thank you very much for your feedback. I am using WordPress for my blog, never bother about the browser compatibility. I will check with some browsers and will update you soon.

  77. Geoffrey Reply

    I’m not sure why but this site is loading very slow for me.
    Is anyone else having this issue or is it a problem on my end?

    I’ll check back later on and see if the problem still exists.

    • Sarath Lal Post authorReply

      Hi Geoffrey, Nobody reported this issue so far. May be some technical issue in our server side. Can you please check now and update again?

  78. Katherina Reply

    Wow, wonderful blog layout! How long have you been blogging
    for? you made blogging look easy. The overall look of your
    web site is fantastic, as well as the content!

  79. Lilla Reply

    I every time emailed this webpage post page to all
    my associates, since if like to read it afterward my links will too.

  80. Blaine Reply

    My brother recommended I might like this blog. He was totally right.
    This post actually made my day. You cann’t imagine simply how
    much time I had spent for this information! Thanks!

  81. Arnold Reply

    Why viewers still make use of to read news papers when in this technological world
    all is accessible on net?

  82. Beatrice Reply

    Hello my loved one! I want to say that this post is awesome, great written and come with approximately
    all significant infos. I’d like to peer more posts
    like this .

  83. Claudette Reply

    Ahaa, its pleasant conversation regarding this post here at this webpage, I have read all that, so at this time me also commenting here.

  84. Roseanne Reply

    I’m impressed, I have to admit. Rarely do I come
    across a blog that’s both educative and engaging, and without a doubt, you have hit the nail on the head.
    The problem is an issue that too few people are speaking intelligently about.
    Now i’m very happy that I stumbled across this in my search for something concerning this.

  85. Rosalie Reply

    Spot on with this write-up, I actually believe that
    this amazing site needs far more attention. I’ll probably be returning to read through more, thanks for
    the advice!

  86. Lashunda Reply

    Thanks for one’s marvelous posting! I definitely enjoyed reading
    it, you may be a great author. I will always bookmark your blog and will often come back later on. I want to encourage you continue your great work, have a nice day!

  87. June Reply

    Just desire to say your article is as amazing.
    The clearness in your put up is simply great and i can think you’re an expert on this subject.
    Well together with your permission let me to grab your feed to keep updated with drawing close post.
    Thank you 1,000,000 and please continue the rewarding work.

  88. Freeman Reply

    Today, I went to the beach with my kids. I
    found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to
    her ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is completely off topic but
    I had to tell someone!

  89. Jeffery Reply

    Just desire to say your article is as amazing. The clearness in your post is just great and i could
    assume you are an expert on this subject. Fine with
    your permission let me to grab your RSS feed to keep up to date with forthcoming post.

    Thanks a million and please carry on the enjoyable work.

  90. Roman Reply

    hi!,I love your writing very so much! share we be in contact extra
    approximately your post on AOL? I need an expert on this area to unravel
    my problem. Maybe that’s you! Looking ahead to see you.

  91. Dannielle Reply

    Just wish to say your article is as astounding. The clarity in your post is
    just nice and i could assume you’re an expert on this
    subject. Fine with your permission let me to grab your feed to keep up to date with forthcoming post.
    Thanks a million and please continue the gratifying work.

  92. Marylou Reply

    I am no longer certain where you’re getting your information, however great topic.
    I needs to spend a while learning more or understanding more.
    Thank you for fantastic information I used to be on the lookout for this information for my mission.

  93. boekhoudkantoor Reply

    Wonderful blog! Do you have any tips and hints
    for aspiring writers? I’m planning to start my own site soon but I’m a little lost on everything.
    Would you recommend starting with a free platform like WordPress or go
    for a paid option? There are so many choices out there that I’m
    completely overwhelmed .. Any tips? Bless you!

  94. Jacquelyn Reply

    Howdy! Do you know if they make any plugins to assist
    with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results.
    If you know of any please share. Kudos!

  95. Estela Reply

    Asking questions are actually nice thing if you are not understanding anything totally, however this post presents fastidious understanding yet.

  96. Jerrell Reply

    Hi, always i used to check website posts here in the early hours in the morning, for
    the reason that i enjoy to gain knowledge of more
    and more.

  97. Veta Reply

    Hello to every one, the contents existing at this website are actually remarkable for people experience, well, keep up the nice work fellows.

  98. Blanche Reply

    Hello, i think that i noticed you visited my website so i
    got here to go back the favor?.I’m trying to to find issues to enhance my website!I
    assume its ok to use some of your concepts!!

  99. Mary Reply

    Everything is very open with a really clear
    explanation of the issues. It was definitely informative.
    Your website is very useful. Many thanks for sharing!

  100. Garland Reply

    I’m gone to inform my little brother, that he should also
    visit this weblog on regular basis to obtain updated from most up-to-date information.

  101. Rebecca Reply

    Its like you read my mind! You appear to know a lot about this,
    like you wrote the book in it or something.
    I think that you can do with a few pics to drive the message home a bit,
    but instead of that, this is magnificent blog. A fantastic read.
    I’ll definitely be back.

  102. Iola Reply

    My brother recommended I would possibly like this
    web site. He was once totally right. This submit actually
    made my day. You cann’t consider simply how much time I had
    spent for this information! Thanks!

  103. video games with zombies Reply

    Excellent site you have got here.. It’s difficult to find good quality writing like yours nowadays.
    I honestly appreciate people like you! Take care!!

  104. Luther Reply

    I blog quite often and I truly thank you for your information. This article has really peaked my interest.
    I will book mark your blog and keep checking for new information about once per
    week. I opted in for your RSS feed as well.

  105. Maxine Reply

    Pretty nice post. I just stumbled upon your weblog and wanted to mention that
    I have truly loved surfing around your blog posts. After all I will be subscribing on your rss feed and I hope you write again very soon!

  106. Nida Reply

    Way cool! Some extremely valid points! I appreciate you penning
    this write-up and the rest of the website is extremely good.

  107. www.edaedu.com Reply

    Great website. A lot of helpful information here.
    I’m sending it to a few buddies ans additionally sharing in delicious.

    And certainly, thanks in your effort!

  108. Ismael Reply

    hello!,I really like your writing very a lot! proportion we keep
    up a correspondence more approximately your article on AOL?
    I require a specialist in this space to resolve my problem.

    May be that is you! Having a look ahead to look you.

  109. Free Adult Games Reply

    I loved as much as you will receive carried out right
    here. The sketch is tasteful, your authored material stylish.
    nonetheless, you command get bought an nervousness over that you wish be delivering the following.
    unwell unquestionably come further formerly again since exactly the
    same nearly very often inside case you shield
    this hike.

  110. Merle Launt Reply

    You ought to be a part of a contest for one of the highest quality websites on the internet. I will highly recommend this website!

  111. hi Reply

    Hello, i believe that i saw you visited my blog thus i came to return the desire?.I’m attempting to find things to enhance my web site!I assume its
    good enough to use some of your ideas!!

  112. Kurt Hagedorn Reply

    Thanks for your well written article. It’s very straightforward, but I’m not able to get command #3 to return any records:

    val df = spark.sqlContext.read.cosmosDB(config)
    df.show()

    I’m getting a connection time-out. I’ve double checked my endpoint and masterkey. I noticed the URI from the azure portal is: *.cassandra.cosmos.azure.com, but your example above uses *.documents.azure.com.

    I tried both versions, but still not having any luck. I’ve checked my firewall rules in the Azure portal and the IP should be accessible from all networks. Not sure what can be causing issues. I think I may try a cassandra API Cosmos DB in a different region to see if that may work — in case there may be problems with the US West region. I’m running out of ideas.

    Thanks for your very well written article!

    • Sarath Lal Post authorReply

      Thanks a lot for your valuable feedback. I have tried it from my Cosmos DB SQL API. I have not yet tried Cassandra. I will try and update you.

  113. dave Reply

    Wonderful blog you have here but I was wondering if
    you knew of any discussion boards that cover
    the same topics talked about here? I’d really love to be a part of online community where I can get opinions from other experienced
    individuals that share the same interest. If you have any
    recommendations, please let me know. Thanks!

  114. unknown Reply

    I take pleasure in, cause I found just what I used to
    be looking for. You’ve ended my four day lengthy hunt!
    God Bless you man. Have a great day. Bye

  115. unknown Reply

    I pay a quick visit everyday a few blogs and blogs to
    read articles, however this weblog provides quality based writing.

Leave a Reply

Your email address will not be published. Required fields are marked *