Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Writers (CSV, JSON, SQL, XML, etc) #213

Closed
mauricio1990silva opened this issue Mar 26, 2015 · 9 comments
Closed

Custom Writers (CSV, JSON, SQL, XML, etc) #213

mauricio1990silva opened this issue Mar 26, 2015 · 9 comments
Assignees
Milestone

Comments

@mauricio1990silva
Copy link

DataGen should be able at least to export the final output as CSV, JSON, SQL, XML, etc, chosen by the user

@bryantrobbins
Copy link
Collaborator

@mauricio1990silva how is this going? Please feel free to send a PR.

@bryantrobbins bryantrobbins self-assigned this Jul 10, 2015
@bryantrobbins bryantrobbins added this to the DG2.2 milestone Jul 10, 2015
@mibrahim
Copy link
Member

As a thought, I propose looking at webhdfs and writing an output stream wrapper to it.

@mibrahim
Copy link
Member

@mauricio1990silva, @bryantrobbins and Andriy is looking at this.

@bryantrobbins bryantrobbins modified the milestones: DataGenerationUtils, DG2.2 Aug 14, 2015
@bryantrobbins
Copy link
Collaborator

Discussed this today, and decided to add an interface like this to dg-commons:

interface DataWriter< T >:
void pre()
void writeOutput(T)
void post()

For example, the current DefaultWriter:

DefaultWriter implements DataWriter<Map<String, String>>:

void writeOutput(Map< String, String > data):
data.getKey()
data.getValue()
;;

@wnilkamal wnilkamal modified the milestones: DG2.2, DataGenerationUtils Sep 4, 2015
@bryantrobbins
Copy link
Collaborator

Andriy and @mauricio1990silva were looking into this. Are we still on track with getting this into dg-commons by the end of the year?

@mibrahim
Copy link
Member

@mauricio1990silva is it reasonable to assume that this will not happen before the end of the month ? I just want to plan for what features are going in Dec 15th

@mauricio1990silva
Copy link
Author

I have done the code, I just need to correct a feww things, but sure this
can be fully done by Dec 15th
On Nov 20, 2015 9:17 AM, "Mohamed Ibrahim" notifications@github.com wrote:

@mauricio1990silva https://github.com/mauricio1990silva is it
reasonable to assume that this will not happen before the end of the month
? I just want to plan for what features are going in Dec 15th


Reply to this email directly or view it on GitHub
#213 (comment)
.

@mibrahim
Copy link
Member

@mauricio1990silva any updates on that ?

@mibrahim mibrahim modified the milestones: DG2.3, DG2.2 Feb 19, 2016
@mibrahim
Copy link
Member

@mauricio1990silva can you please send a PR if we're changing code ?

@mibrahim mibrahim closed this as completed Apr 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants