Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A952E1056D for ; Mon, 14 Sep 2015 15:56:15 +0000 (UTC) Received: (qmail 46541 invoked by uid 500); 14 Sep 2015 15:56:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 46498 invoked by uid 500); 14 Sep 2015 15:56:12 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 46488 invoked by uid 99); 14 Sep 2015 15:56:12 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2015 15:56:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id ED4521A19DD for ; Mon, 14 Sep 2015 15:56:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=rocketfuelinc.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XU-YM8HxkKqW for ; Mon, 14 Sep 2015 15:56:01 +0000 (UTC) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id DEBC9207EE for ; Mon, 14 Sep 2015 15:56:00 +0000 (UTC) Received: by obbbh8 with SMTP id bh8so111971815obb.0 for ; Mon, 14 Sep 2015 08:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketfuelinc.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ueWgA0kUKtbfNJcf/90+RU8FiKpStuYQodtwlDS2oJY=; b=TNciwsi1unopiiHM+XzPtVtSVa8MJGY6kHh3E57FHfNBaQS0ZfVD71R485fgQOTSEh zuWVabKfghhTjx3LGk7MZz/Aj2qbt16FCjLMvZfPVp4q7iOktycklW4sPZHZeaSFI4W3 P5QBoMWMzF1fmvnof2Ov6FWKgJKqCkvnzdTZ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=ueWgA0kUKtbfNJcf/90+RU8FiKpStuYQodtwlDS2oJY=; b=lYBA8fEYWnlDxZ5T4Ma8wWTnG8kmK2TyKLLYM8k6kYwVKjmmr67twtfSsXdZe7CBXO 2Li6ONvrCsfXtinqXCVVPkYGet0L2AFHdtvFy/JfVpmhN6foPVyJkurqdGoAB6s44xkf /LzdTiMYknsgy0mvRm+4SfyLhAeXXXJl4xPq5OfTBsjU5gEXfzLWmCbC0gUSZ37n7NQV A798qjNCBI3FkiVT5X/Q9goRzy6aVDnVTCuvn4wlksq+XubZH5NzHkVos+yvUSD1lh/8 eAQZtIxuJ2n+m4UNrnKdJCZGkxArn0g9EArOEpH2N6gj6GjadP3eaj7OAvbz3OXa17n2 Mc4g== X-Gm-Message-State: ALoCoQnquHkylI/Fwws6FvBomJ7qKKwLEHFzTW7uZhUgfpgej802tBS2CIcfFxUCGVUhTBXy6GbI X-Received: by 10.60.128.130 with SMTP id no2mr12973801oeb.47.1442246160137; Mon, 14 Sep 2015 08:56:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.212.76 with HTTP; Mon, 14 Sep 2015 08:55:20 -0700 (PDT) In-Reply-To: References: From: Jason Kushmaul Date: Mon, 14 Sep 2015 11:55:20 -0400 Message-ID: Subject: Re: Importing data from SQL Server To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b3442d80de14d051fb71af4 --047d7b3442d80de14d051fb71af4 Content-Type: text/plain; charset=UTF-8 I had to write my own, but not due to lack of support. I found I needed to preprocess the data before I put it into cassandra, you might find that beneficial. I only had 3 massive tables to worry about so it wasn't that much extra work to code it out - your case might be different if you have 50 tables, or if this needs to recur. If you don't need to preprocess the data, what you could probably do is export your data from MSSQL to CSV (built into sql mgmt studio) and use CQL to import the CSV - http://www.datastax.com/dev/blog/simple-data-importing-and-exporting-with-cassandra On Mon, Sep 14, 2015 at 11:37 AM, Raluca Marcu wrote: > > Kevin Burton charter.net> writes: > > > > > I have seen numerous posts on transferring data from MySql to Cassandra > but have yet to find a good way to > > transfer directly from a Microsoft SQL Server table to a Cassandra CF. > Even better would be a method to take > > as input the output of an arbitrary SQL query. Ideas? > > > > > Hello, > > I realize this post is pretty old, but I was wondering if you found an > answer to this question and if you've used it. > I have to load data from SQL Server into Cassandra and I am completely new > to Cassandra and all of the posts I seem to be able to find are demos > about loading from MySQL into Cassandra. > Any, any help would be extremely appreciated! > Thank you very much! > Raluca > > > > > > -- Jason Kushmaul | 517.899.7852 Engineering Manager --047d7b3442d80de14d051fb71af4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I had to write my own, but not due to lack of support= .=C2=A0 I found I needed to preprocess the data before I put it into cassan= dra, you might find that beneficial. I only had 3 massive tables to worry a= bout so it wasn't that much extra work to code it out - your case might= be different if you have 50 tables, or if this needs to recur.

=C2=A0If you don't need to preprocess the data, what = you could probably do is export your data from MSSQL to CSV (built into sql= mgmt studio)

<= br>
On Mon, Sep 14, 2015 at 11:37 AM, Raluca Marc= u <ralu_k_17@yahoo.com> wrote:

Kevin Burton <rkevinburton <at> cha= rter.net> writes:

>
> I have seen numerous posts on transferring data from MySql to Cassandr= a
but have yet to find a good way to
> transfer directly from a Microsoft SQL Server table to a Cassandra CF.=
Even better would be a method to take
> as input the output of an arbitrary SQL query. Ideas?
>


Hello,

I realize this post is pretty old, but I was wondering if you found an
answer to this question and if you've used it.
I have to load data from SQL Server into Cassandra and I am completely new<= br> to Cassandra and all of the posts I seem to be able to find are demos
about loading from MySQL into Cassandra.
Any, any help would be extremely appreciated!
Thank you very much!
Raluca








--
Jason Kushmaul=C2= =A0| 517.899.7852
Engineering Manager
--047d7b3442d80de14d051fb71af4--