|
den2k88 wrote: Internals in UTC, presentation in local time.
The presentation still wouldn't add up...just make presentation UTC as well...they'll get used to it! No more DST problems!
"Go forth into the source" - Neal Morse
|
|
|
|
|
If the presentation doesn't add up due to DST shenanigans it's not a problem - presentation is for the human user who could use his human brain to take into account the reason of discrepancy.
kmoorevs wrote: make presentation UTC as well...they'll get used to it! Empyrical proof taught me that this is not the case, unfortunately
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
A method out there:
public bool ImportSQLTableIntoHive(SqoopJobRequest jobRequest);
and used like:
private bool CopySQLTableToHive(string tableName)
{
this.SqoopJobManager.ImportSQLTableIntoHive(request);
return true;
}
|
|
|
|
|
Ehsan Sajjad wrote: Sqoop
I keep reading that as the "ScoopPoopJobManager"
Latest Article - Contextual Data Explorer
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
let me refactor the name of it
|
|
|
|
|
I have found a better name: ScoobyDooImportToHive()
|
|
|
|
|
that sounds great actually
|
|
|
|
|
He'd have got away with it too, if it hadn't been for those meddling script kiddies.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Clearly someone has a lot of faith in the developer who wrote ImportSQLTableIntoHive() .
/ravi
|
|
|
|
|
Laying down some qualifications for being on U.S. Federal Payroll :
----------------------------------------------------
[ males ]
* Must have more than 1 year at minimum wage job
* Must ABSOLUTELY be 6'0 (182 cm) or taller
* 4 yr college degree [ Scholarships helps ]
* Must be athletic ; exceptional at 2 or more team sports
* Must have religion ( Christian / Islam )
* Must have more than 1 year xp overseas(2 countries)
[ foreign language ]
* Must be an exceptional musician
* Volunteer work (mission)
* Exceptional at 2 or more programming languages
* Must have 1 or more years xp with business venture
[ entrepreneur ]
* A few street fights ( woudn't hurt )
* Must have xp w/ beer pong
* Must have have girlfriend/wife for more than 2 yrs
****** that should fix everything *******
sorry, if you are wondering what the height requirement is it is to ensure that our tax dollars don't go to Deuce Bigilo detective type individuals ....
---------------------------------------------------
|
|
|
|
|
How is any of this weird or wonderful?
|
|
|
|
|
it was moved here ..
|
|
|
|
|
|
What happened? Didn't get the job?
"Go forth into the source" - Neal Morse
|
|
|
|
|
no .. nothing like that ..
|
|
|
|
|
catch(Exception e)
{
throw new Exception("Error while processing file");
}
I could just cry.
|
|
|
|
|
Well, it does confirm that it was during the processing of the file rather than before or after it.
Yes, a pedant might bemoan the suppression of detail about what the error was but the writer has at least given a clue as to when it occurred.
98.4% of statistics are made up on the spot.
|
|
|
|
|
Well that would be fun in a try block greater than 10-15 lines of code.
|
|
|
|
|
In that light the following would be better:
throw new Exception(message, oldException);
|
|
|
|
|
I'll trade you. Actual production code.
if (!string.IsNullOrEmpty(results))
{
}
"...JavaScript could teach Dyson how to suck." -- Nagy Vilmos
|
|
|
|
|
This is a special conversion method, which converts ALL exceptions into "Error processing file".
Very valuable.
|
|
|
|
|
This is a design pattern : Encapsulation by Deception !
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
Highlights of a genuine email exchange between me (now working "in the business") and "IT"
Me: "I'm trying to write some VBA to send emails via SMTP ... what is the server name and port number to use at this site?"
<insert long, long delay here>
IT: "Can I remote onto your PC to fix your Outlook problems"
<repeat this for as many times as there are "Advisers" on the Service Desk>
Eventually...
IT: "You shouldn't be using SMTP, you should use our utility that uses IMAP"
<insert facepalm and long, long delay here>
To cut a very, very long (months long) story short, I finally manage to get in (email) contact with the person that is going to solve my problem... allegedly ...
IT: "There is a table that you interact with and it will send the emails for you"
(Dontcha just love the techie speak?)
Me: "Ok. How do I "interact" with "the table" using VBA? What is the table called? Can you provide the connection string? What data is required? Are there any instructions?"
<...and you knew there was going to be a long delay in here didn't you >
The final answer:
IT: "You have to interact with the table."
After 40 years, it comes down to this. I have no words to describe the professionalism of this latest generation of "experts"
P.S. I do, I just can't use them in polite company
|
|
|
|
|
I can udnerstand you... very, very well (although I would prefer not to)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I can sympathize. I've been "business" side for about seven years now, after being in IT for about 22 years, programming, DBA, tech lead, etc. Now whenever I contact the "help" desk with an issue or submit an IT request, I have to sit through explanations about things like how memory is important and used by all the applications.
Scott
|
|
|
|