Thanks Christian!

Just to update everyone: as the above thread has suggested, we're in the process of getting UDFs - easy, callable functions - written for the old and new pageviews definitions. Once they're in, we'll be able to (amongst other things) incredibly conveniently query the database for data, work out whether what it spits out is what it should be spitting out, and tweak accordingly. It'll also drastically simplify the code necessary to query hive for "all the pageviews that have [attribute]".

On 25 December 2014 at 08:05, Christian Aistleitner <christian@quelltextlich.at> wrote:
Hi Oliver,

On Wed, Dec 24, 2014 at 03:23:39PM -0500, Oliver Keyes wrote:
> FAILED: SemanticException [Error 10014]: Line 12:8 Wrong arguments
> 'content_type': No matching method for class
> org.wikimedia.analytics.refinery.hive.IsPageviewUDF with (string, string,
> string, string, string). Possible choices: _FUNC_(string, string, string,
> string, string, string)

/me puts on his augur hat, since your email is lacking a way to
reproduce the issue.

Maybe you passed the wrong number of arguments (5 strings vs. the 6
needed strings)?

(Count the "string"s in the error message)

Have fun,
Christian



--
---- quelltextlich e.U. ---- \\ ---- Christian Aistleitner ----
                           Companies' registry: 360296y in Linz
Christian Aistleitner
Kefermarkterstrasze 6a/3     Email:  christian@quelltextlich.at
4293 Gutau, Austria          Phone:          +43 7946 / 20 5 81
                             Fax:            +43 7946 / 20 5 81
                             Homepage: http://quelltextlich.at/
---------------------------------------------------------------

_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics




--
Oliver Keyes
Research Analyst
Wikimedia Foundation