Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Defined fields in Synonyms

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Defined fields in Synonyms
 Login/Join
 
Platinum Member
posted
Hello Folks,

I have to implement a few changes and I am considering making the changes to a synonym.

To be a little more specific, I need to add a column that creates a grouping. If the time (gotten from another field) is from midnight to 6am, then it gets the value 'Night'; 6am to noon gets 'Morning' etc.

The best way (imo) is to put this calculation in the ETL and spit out a new field to the data warehouse, but that's something I will not be able to do right now. And I would rather not put it into fex files because its something I have to do often, but not in every fex either.

So here is my question... if I create a defined field in a synonym, will the calculation for this field still be done if that defined field is not being used in that fex? I would hope not so that the query runs faster.

Thank you Folks,

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8201, SP 0.1, Windows 7, HTML
 
Posts: 190 | Registered: May 19, 2017Report This Post
Expert
posted Hide Post
I do believe that a DEFINE'd field is only evaluated if it is referenced withing the DEFINE FILE..., TABLE FILE... requested. So, it should not be a hindrance to, negatively affect, your query / processing...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
Ditto with Doug


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2410 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Virtuoso
posted Hide Post
Doug is correct.

This is a great strategy by the way. I have a bunch of categories defined in master files, ones where my client seems to want to move things around a bit. Having the define in a single centralized location makes adjustments easy.

But -- you can't put an index on a field that doesn't exist, so there are limitations.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Defined fields in Synonyms

Copyright © 1996-2020 Information Builders